#C2B332#C2B332
#C2B332 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.7% C 0.143 H 102.5°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B332 |
|---|---|
| RGB | rgb(194, 179, 50) |
| HSL | hsl(54, 59%, 48%) |
| HSV | hsv(54, 74%, 76%) |
| CMYK | cmyk(0%, 7.7%, 74.2%, 23.9%) |
| CIE-LAB | lab(72.19, -8.75, 63.51) |
| CIE-LCH | lch(72.19, 64.11, 97.85°) |
| OKLab | oklab(75.73% -0.0309 0.1397) |
| OKLCH | oklch(75.73% 0.143 102.5) |
| XYZ | xyz(38.9457, 43.9415, 9.4471) |
| Luminance | 0.4394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.82
Muddy Yellow
#BFAC05
ΔE00 2.93
Brownish Yellow
#C9B003
ΔE00 3.61
Mustard (survey)
#CEB301
ΔE00 4.16
Mustard Yellow
#D2BD0A
ΔE00 4.45
Puke Yellow
#C2BE0E
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B332 #3241C2
analogous
#C26B32 #C2B332 #89C232
triadic
#C2B332 #32C2B3 #B332C2
tetradic
#C2B332 #32C26B #3241C2 #C23289
square
#C2B332 #32C26B #3241C2 #C23289
split-complementary
#C2B332 #3289C2 #6B32C2
monochromatic
#615919 #918625 #C2B332 #D5C85C #E2D98D
Accessibility & contrast
On white
2.15
#C2B332 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#C2B332 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B332
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B332 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B332 | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD19
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#D1A69A
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c2b332; /* rgb */ color: rgb(194, 179, 50); /* oklch */ color: oklch(75.7% 0.143 102.5);
Tailwind
colors: {
custom: {
50: '#d8c973',
500: '#c2b332',
950: '#000000',
},
}SCSS
$custom: #c2b332; $custom-light: #d8c973; $custom-dark: #000000;
JSON
{
"hex": "#c2b332",
"rgb": {
"r": 194,
"g": 179,
"b": 50
},
"hsl": {
"h": 53.75,
"s": 59.016,
"l": 47.843
},
"oklch": {
"l": 0.75727,
"c": 0.14306,
"h": 102.5
},
"luminance": 0.4394
}Semantic roles & 50–950 ramp
primary
#C2B332
secondary
#848BCC
accent
#56E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B