#c2aa39
a balanced, vivid yellow · warm · closest name: Goldenrod
At a glance
Every number on this page in one read: what #c2aa39 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #c2aa39 |
| RGB | rgb(194, 170, 57) |
| HSL | hsl(50, 55%, 49%) |
| CMYK | cmyk(0%, 12%, 71%, 24%) |
| LAB | lab(69.8 -3.7 58.6) |
| LCH | lch(69.8 58.7 93.6) |
| OKLCH | oklch(0.739 0.132 96.9) |
| Decimal | 12757561 |
| Display P3 | color(display-p3 0.761 0.667 0.224) |
Copy-ready code
/* CSS */
color: #c2aa39;
background-color: #c2aa39;
/* Tailwind (arbitrary) */
class="text-[#c2aa39] bg-[#c2aa39]"
/* SCSS */
$brand: #c2aa39;
/* SwiftUI */
Color(red: 0.761, green: 0.667, blue: 0.224)
/* Android */
Color.parseColor("#c2aa39")
/* Flutter */
Color(0xFFC2AA39)
/* Python / OpenCV (BGR) */
(57, 170, 194)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #c2aa39 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FBF9F4;
--brand-100: #F6F4E9;
--brand-200: #EEE8CE;
--brand-300: #E6DBA8;
--brand-400: #D9C97D;
--brand-500: #CCB752;
--brand-600: #c2aa39;
--brand-700: #9E8A2E;
--brand-800: #7E6F25;
--brand-900: #5C511E;
--brand-950: #393313;
--brand: #c2aa39;
--brand-ink: #000000;
}Colors that work with #c2aa39
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #c2aa39
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #3951C2 | Directly opposite — maximum tension | |
| Analogous left | #C26539 | Neighbour, quieter | |
| Analogous right | #95C239 | Neighbour, quieter | |
| Split-complement 1 | #3995C2 | Contrast without the clash | |
| Split-complement 2 | #6539C2 | Contrast without the clash | |
| Triadic 1 | #39C2AA | Even thirds — balanced and loud | |
| Triadic 2 | #AA39C2 | Even thirds — balanced and loud | |
| Tetradic | #39C265 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c2aa39 text on a black background
contrast 9.10:1
#c2aa39 text on a white background
contrast 2.31:1
CSS3 live lab
The quick brown fox
color: #c2aa39;
background-color: #c2aa39;
Glowing headline
text-shadow: 2px 2px 8px #c2aa39;
Soft neon halo
text-shadow: 0 0 14px rgba(194, 170, 57, 0.45);
box-shadow: 0 12px 32px -8px rgba(194, 170, 57, 0.45);
border: 3px solid #c2aa39; background: linear-gradient(135deg, #c2aa39, #7FC239);
Monochromatic scale
Palettes built from #c2aa39
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Goldenrod (#daa520) — ΔE2000 8 away, with its history, psychology and brand usage.
#c2aa39 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#c2aa39, answered
What color is #c2aa39?
#c2aa39 is a balanced vivid yellow, closest to Goldenrod (ΔE2000 8). It sits at 50° on the hue wheel with 55% saturation and 49% lightness, which reads as warm.
What is the RGB value of #c2aa39?
rgb(194, 170, 57) — 194 red, 170 green and 57 blue out of 255, or 76.1% / 66.7% / 22.4% by channel.
Is #c2aa39 a light or a dark color?
It is a mid-tone. Relative luminance is 0.4051 and perceived brightness is 66%, so black text on it reaches 9.10:1.
Should I use black or white text on #c2aa39?
Black. It scores 9.10:1 against #c2aa39, versus 2.31:1 for white — AAA at any size.
What is the complementary color of #c2aa39?
#3951C2 sits directly opposite on the wheel. Softer options are the split-complements #3995C2 and #6539C2, which give the same contrast with far less vibration.
What colors go well with #c2aa39?
For interface work: #FAF9F4 as the surface, #ECE5C0 for borders, #9B8D4B for secondary text, #3472C7 as an accent and #63561D for hover and pressed states. For a palette, the analogous pair #C26539 and #95C239 stays calm, while #3951C2 is the loudest partner.
What is #c2aa39 in CMYK for printing?
cmyk(0%, 12%, 71%, 24%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #c2aa39 warm or cool?
Warm — it scores 16 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C28839; nudged cooler, #A9C436.