#C2B433#C2B433
#C2B433 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.143 H 102.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B433 |
|---|---|
| RGB | rgb(194, 180, 51) |
| HSL | hsl(54, 58%, 48%) |
| HSV | hsv(54, 74%, 76%) |
| CMYK | cmyk(0%, 7.2%, 73.7%, 23.9%) |
| CIE-LAB | lab(72.46, -9.23, 63.42) |
| CIE-LCH | lch(72.46, 64.09, 98.28°) |
| OKLab | oklab(75.95% -0.0321 0.1397) |
| OKLCH | oklch(75.95% 0.143 102.9) |
| XYZ | xyz(39.1687, 44.3525, 9.6290) |
| Luminance | 0.4435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.69
Muddy Yellow
#BFAC05
ΔE00 3.20
Brownish Yellow
#C9B003
ΔE00 3.86
Puke Yellow
#C2BE0E
ΔE00 4.19
Mustard (survey)
#CEB301
ΔE00 4.37
Mustard Yellow
#D2BD0A
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B433 #3341C2
analogous
#C26C33 #C2B433 #88C233
triadic
#C2B433 #33C2B4 #B433C2
tetradic
#C2B433 #33C26C #3341C2 #C23388
square
#C2B433 #33C26C #3341C2 #C23388
split-complementary
#C2B433 #3388C2 #6C33C2
monochromatic
#615A1A #928726 #C2B433 #D5C95E #E1D98E
Accessibility & contrast
On white
2.13
#C2B433 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#C2B433 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B433
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B433 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B433 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE1B
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#D1A79B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2b433; /* rgb */ color: rgb(194, 180, 51); /* oklch */ color: oklch(75.9% 0.143 102.9);
Tailwind
colors: {
custom: {
50: '#d8ca74',
500: '#c2b433',
950: '#000000',
},
}SCSS
$custom: #c2b433; $custom-light: #d8ca74; $custom-dark: #000000;
JSON
{
"hex": "#c2b433",
"rgb": {
"r": 194,
"g": 180,
"b": 51
},
"hsl": {
"h": 54.126,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.75946,
"c": 0.14334,
"h": 102.9
},
"luminance": 0.44351
}Semantic roles & 50–950 ramp
primary
#C2B433
secondary
#858CCC
accent
#55E246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B