#C4C151#C4C151
#C4C151 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.134 H 107.7°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C4C151 |
|---|---|
| RGB | rgb(196, 193, 81) |
| HSL | hsl(58, 49%, 54%) |
| HSV | hsv(58, 59%, 77%) |
| CMYK | cmyk(0%, 1.5%, 58.7%, 23.1%) |
| CIE-LAB | lab(76.36, -13.30, 55.39) |
| CIE-LCH | lch(76.36, 56.96, 103.50°) |
| OKLab | oklab(79.16% -0.0406 0.1274) |
| OKLCH | oklch(79.16% 0.134 107.7) |
| XYZ | xyz(43.3214, 50.4710, 15.2428) |
| Luminance | 0.5047 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 5.05
Vomit Yellow
#C7C10C
ΔE00 5.34
Darkkhaki
#BDB76B
ΔE00 5.69
Olive Yellow
#C2B709
ΔE00 5.82
Dirty Yellow
#CDC50A
ΔE00 5.89
Bile
#B5C306
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4C151 #5154C4
analogous
#C48851 #C4C151 #8EC451
triadic
#C4C151 #51C4C1 #C151C4
tetradic
#C4C151 #51C488 #5154C4 #C4518E
square
#C4C151 #51C488 #5154C4 #C4518E
split-complementary
#C4C151 #518EC4 #8851C4
monochromatic
#737127 #A19E37 #C4C151 #D3D17F #E3E2AC
Accessibility & contrast
On white
1.89
#C4C151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.09
#C4C151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4C151
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4C151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4C151 | 1.00 | 1.89 | 11.09 | 11.09 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BA45
Deuteranopia (green-blind)
#D2BE57
Tritanopia (blue-blind)
#D1B6A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #c4c151; /* rgb */ color: rgb(196, 193, 81); /* oklch */ color: oklch(79.2% 0.134 107.7);
Tailwind
colors: {
custom: {
50: '#d8d386',
500: '#c4c151',
950: '#000000',
},
}SCSS
$custom: #c4c151; $custom-light: #d8d386; $custom-dark: #000000;
JSON
{
"hex": "#c4c151",
"rgb": {
"r": 196,
"g": 193,
"b": 81
},
"hsl": {
"h": 58.435,
"s": 49.356,
"l": 54.314
},
"oklch": {
"l": 0.79159,
"c": 0.13373,
"h": 107.7
},
"luminance": 0.5047
}Semantic roles & 50–950 ramp
primary
#C4C151
secondary
#3D3E7D
accent
#53D94F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E