#C4CE42#C4CE42
#C4CE42 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.159 H 113.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C4CE42 |
|---|---|
| RGB | rgb(196, 206, 66) |
| HSL | hsl(64, 59%, 53%) |
| HSV | hsv(64, 68%, 81%) |
| CMYK | cmyk(4.9%, 0%, 68%, 19.2%) |
| CIE-LAB | lab(79.77, -20.74, 65.14) |
| CIE-LCH | lch(79.77, 68.36, 107.66°) |
| OKLab | oklab(81.85% -0.0631 0.1459) |
| OKLCH | oklch(81.85% 0.159 113.4) |
| XYZ | xyz(45.8209, 56.2727, 13.6011) |
| Luminance | 0.5627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.81
Green Yellow
#B5CE08
ΔE00 3.83
Bile
#B5C306
ΔE00 3.97
Snot
#ACBB0D
ΔE00 5.56
Vomit Yellow
#C7C10C
ΔE00 5.60
Puke Yellow
#C2BE0E
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4CE42 #4C42CE
analogous
#CE9242 #C4CE42 #7ECE42
triadic
#C4CE42 #42C4CE #CE42C4
tetradic
#C4CE42 #42CE92 #4C42CE #CE427E
square
#C4CE42 #42CE92 #4C42CE #CE427E
split-complementary
#C4CE42 #427ECE #9242CE
monochromatic
#71771F #9FA72B #C4CE42 #D3DB73 #E2E7A3
Accessibility & contrast
On white
1.71
#C4CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.25
#C4CE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4CE42
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4CE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4CE42 | 1.00 | 1.71 | 12.25 | 12.25 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#D1C2B2
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c4ce42; /* rgb */ color: rgb(196, 206, 66); /* oklch */ color: oklch(81.8% 0.159 113.4);
Tailwind
colors: {
custom: {
50: '#d9dc7e',
500: '#c4ce42',
950: '#000000',
},
}SCSS
$custom: #c4ce42; $custom-light: #d9dc7e; $custom-dark: #000000;
JSON
{
"hex": "#c4ce42",
"rgb": {
"r": 196,
"g": 206,
"b": 66
},
"hsl": {
"h": 64.286,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.81846,
"c": 0.15891,
"h": 113.4
},
"luminance": 0.56272
}Semantic roles & 50–950 ramp
primary
#C4CE42
secondary
#3A357F
accent
#46E251
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E