#C2B336#C2B336
#C2B336 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.8% C 0.141 H 102.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B336 |
|---|---|
| RGB | rgb(194, 179, 54) |
| HSL | hsl(54, 56%, 49%) |
| HSV | hsv(54, 72%, 76%) |
| CMYK | cmyk(0%, 7.7%, 72.2%, 23.9%) |
| CIE-LAB | lab(72.21, -8.57, 62.09) |
| CIE-LCH | lch(72.21, 62.68, 97.86°) |
| OKLab | oklab(75.75% -0.03 0.1374) |
| OKLCH | oklch(75.75% 0.141 102.3) |
| XYZ | xyz(39.0358, 43.9776, 9.9216) |
| Luminance | 0.4398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.15
Muddy Yellow
#BFAC05
ΔE00 3.20
Brownish Yellow
#C9B003
ΔE00 3.86
Mustard (survey)
#CEB301
ΔE00 4.40
Puke Yellow
#C2BE0E
ΔE00 4.68
Mustard Yellow
#D2BD0A
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B336 #3645C2
analogous
#C26D36 #C2B336 #8BC236
triadic
#C2B336 #36C2B3 #B336C2
tetradic
#C2B336 #36C26D #3645C2 #C2368B
square
#C2B336 #36C26D #3645C2 #C2368B
split-complementary
#C2B336 #368BC2 #6D36C2
monochromatic
#625B1B #928729 #C2B336 #D3C762 #E1D892
Accessibility & contrast
On white
2.14
#C2B336 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#C2B336 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B336
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B336 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B336 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD21
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#D1A69A
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c2b336; /* rgb */ color: rgb(194, 179, 54); /* oklch */ color: oklch(75.8% 0.141 102.3);
Tailwind
colors: {
custom: {
50: '#d8c975',
500: '#c2b336',
950: '#000000',
},
}SCSS
$custom: #c2b336; $custom-light: #d8c975; $custom-dark: #000000;
JSON
{
"hex": "#c2b336",
"rgb": {
"r": 194,
"g": 179,
"b": 54
},
"hsl": {
"h": 53.571,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.75754,
"c": 0.14067,
"h": 102.3
},
"luminance": 0.43976
}Semantic roles & 50–950 ramp
primary
#C2B336
secondary
#888FCC
accent
#58E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B