#C2B431#C2B431
#C2B431 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.9% C 0.144 H 103.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B431 |
|---|---|
| RGB | rgb(194, 180, 49) |
| HSL | hsl(54, 60%, 48%) |
| HSV | hsv(54, 75%, 76%) |
| CMYK | cmyk(0%, 7.2%, 74.7%, 23.9%) |
| CIE-LAB | lab(72.45, -9.32, 64.10) |
| CIE-LCH | lch(72.45, 64.78, 98.27°) |
| OKLab | oklab(75.93% -0.0326 0.1408) |
| OKLCH | oklch(75.93% 0.144 103) |
| XYZ | xyz(39.1255, 44.3353, 9.4018) |
| Luminance | 0.4433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.53
Muddy Yellow
#BFAC05
ΔE00 3.08
Brownish Yellow
#C9B003
ΔE00 3.75
Puke Yellow
#C2BE0E
ΔE00 4.08
Mustard (survey)
#CEB301
ΔE00 4.26
Mustard Yellow
#D2BD0A
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B431 #313FC2
analogous
#C26C31 #C2B431 #87C231
triadic
#C2B431 #31C2B4 #B431C2
tetradic
#C2B431 #31C26C #313FC2 #C23187
square
#C2B431 #31C26C #313FC2 #C23187
split-complementary
#C2B431 #3187C2 #6C31C2
monochromatic
#605918 #918725 #C2B431 #D6CA5B #E2DA8C
Accessibility & contrast
On white
2.13
#C2B431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#C2B431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B431
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B431 | 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)
#C5AE16
Deuteranopia (green-blind)
#C9B53A
Tritanopia (blue-blind)
#D1A79B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2b431; /* rgb */ color: rgb(194, 180, 49); /* oklch */ color: oklch(75.9% 0.144 103.0);
Tailwind
colors: {
custom: {
50: '#d8ca73',
500: '#c2b431',
950: '#000000',
},
}SCSS
$custom: #c2b431; $custom-light: #d8ca73; $custom-dark: #000000;
JSON
{
"hex": "#c2b431",
"rgb": {
"r": 194,
"g": 180,
"b": 49
},
"hsl": {
"h": 54.207,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.75934,
"c": 0.14449,
"h": 103
},
"luminance": 0.44334
}Semantic roles & 50–950 ramp
primary
#C2B431
secondary
#838ACC
accent
#54E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B