#C2B539#C2B539
#C2B539 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.140 H 103.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B539 |
|---|---|
| RGB | rgb(194, 181, 57) |
| HSL | hsl(54, 55%, 49%) |
| HSV | hsv(54, 71%, 76%) |
| CMYK | cmyk(0%, 6.7%, 70.6%, 23.9%) |
| CIE-LAB | lab(72.77, -9.46, 61.51) |
| CIE-LCH | lch(72.77, 62.24, 98.74°) |
| OKLab | oklab(76.2% -0.0322 0.1368) |
| OKLCH | oklch(76.2% 0.14 103.2) |
| XYZ | xyz(39.5122, 44.8141, 10.4388) |
| Luminance | 0.4481 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.08
Muddy Yellow
#BFAC05
ΔE00 3.79
Puke Yellow
#C2BE0E
ΔE00 4.27
Brownish Yellow
#C9B003
ΔE00 4.42
Vomit Yellow
#C7C10C
ΔE00 4.73
Mustard Yellow
#D2BD0A
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B539 #3946C2
analogous
#C27139 #C2B539 #8AC239
triadic
#C2B539 #39C2B5 #B539C2
tetradic
#C2B539 #39C271 #3946C2 #C2398A
square
#C2B539 #39C271 #3946C2 #C2398A
split-complementary
#C2B539 #398AC2 #7139C2
monochromatic
#635D1D #93892B #C2B539 #D2C866 #E0D995
Accessibility & contrast
On white
2.11
#C2B539 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#C2B539 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B539
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B539 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B539 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF25
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c2b539; /* rgb */ color: rgb(194, 181, 57); /* oklch */ color: oklch(76.2% 0.140 103.2);
Tailwind
colors: {
custom: {
50: '#d8ca77',
500: '#c2b539',
950: '#000000',
},
}SCSS
$custom: #c2b539; $custom-light: #d8ca77; $custom-dark: #000000;
JSON
{
"hex": "#c2b539",
"rgb": {
"r": 194,
"g": 181,
"b": 57
},
"hsl": {
"h": 54.307,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.76202,
"c": 0.14049,
"h": 103.2
},
"luminance": 0.44812
}Semantic roles & 50–950 ramp
primary
#C2B539
secondary
#8B92CB
accent
#58DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B