#C2B533#C2B533
#C2B533 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.144 H 103.5°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B533 |
|---|---|
| RGB | rgb(194, 181, 51) |
| HSL | hsl(55, 58%, 48%) |
| HSV | hsv(55, 74%, 76%) |
| CMYK | cmyk(0%, 6.7%, 73.7%, 23.9%) |
| CIE-LAB | lab(72.73, -9.74, 63.67) |
| CIE-LCH | lch(72.73, 64.41, 98.70°) |
| OKLab | oklab(76.16% -0.0336 0.1402) |
| OKLCH | oklch(76.16% 0.144 103.5) |
| XYZ | xyz(39.3713, 44.7577, 9.6966) |
| Luminance | 0.4476 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.53
Muddy Yellow
#BFAC05
ΔE00 3.43
Puke Yellow
#C2BE0E
ΔE00 3.88
Brownish Yellow
#C9B003
ΔE00 4.08
Vomit Yellow
#C7C10C
ΔE00 4.34
Mustard Yellow
#D2BD0A
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B533 #3340C2
analogous
#C26D33 #C2B533 #88C233
triadic
#C2B533 #33C2B5 #B533C2
tetradic
#C2B533 #33C26D #3340C2 #C23388
square
#C2B533 #33C26D #3340C2 #C23388
split-complementary
#C2B533 #3388C2 #6D33C2
monochromatic
#615B1A #928826 #C2B533 #D5CA5E #E1DA8E
Accessibility & contrast
On white
2.11
#C2B533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#C2B533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B533
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B533 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#CAB53C
Tritanopia (blue-blind)
#D1A89C
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2b533; /* rgb */ color: rgb(194, 181, 51); /* oklch */ color: oklch(76.2% 0.144 103.5);
Tailwind
colors: {
custom: {
50: '#d8ca74',
500: '#c2b533',
950: '#000000',
},
}SCSS
$custom: #c2b533; $custom-light: #d8ca74; $custom-dark: #000000;
JSON
{
"hex": "#c2b533",
"rgb": {
"r": 194,
"g": 181,
"b": 51
},
"hsl": {
"h": 54.545,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.7616,
"c": 0.14419,
"h": 103.5
},
"luminance": 0.44756
}Semantic roles & 50–950 ramp
primary
#C2B533
secondary
#858BCC
accent
#54E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B