#C4C72B#C4C72B
#C4C72B is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.165 H 110.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C4C72B |
|---|---|
| RGB | rgb(196, 199, 43) |
| HSL | hsl(61, 64%, 47%) |
| HSV | hsv(61, 78%, 78%) |
| CMYK | cmyk(1.5%, 0%, 78.4%, 22%) |
| CIE-LAB | lab(77.73, -18.33, 70.86) |
| CIE-LCH | lch(77.73, 73.19, 104.50°) |
| OKLab | oklab(80.18% -0.0584 0.154) |
| OKLCH | oklch(80.18% 0.165 110.8) |
| XYZ | xyz(43.6260, 52.7583, 10.1703) |
| Luminance | 0.5276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.78
Vomit Yellow
#C7C10C
ΔE00 2.86
Puke Yellow
#C2BE0E
ΔE00 2.87
Bile
#B5C306
ΔE00 2.90
Dirty Yellow
#CDC50A
ΔE00 3.21
Snot
#ACBB0D
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4C72B #2E2BC7
analogous
#C77C2B #C4C72B #76C72B
triadic
#C4C72B #2BC4C7 #C72BC4
tetradic
#C4C72B #2BC77C #2E2BC7 #C72B76
square
#C4C72B #2BC77C #2E2BC7 #C72B76
split-complementary
#C4C72B #2B76C7 #7C2BC7
monochromatic
#616215 #929520 #C4C72B #D8DA55 #E3E587
Accessibility & contrast
On white
1.82
#C4C72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#C4C72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4C72B
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4C72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4C72B | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D8C239
Tritanopia (blue-blind)
#D2BAAB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #c4c72b; /* rgb */ color: rgb(196, 199, 43); /* oklch */ color: oklch(80.2% 0.165 110.8);
Tailwind
colors: {
custom: {
50: '#dad773',
500: '#c4c72b',
950: '#000000',
},
}SCSS
$custom: #c4c72b; $custom-light: #dad773; $custom-dark: #000000;
JSON
{
"hex": "#c4c72b",
"rgb": {
"r": 196,
"g": 199,
"b": 43
},
"hsl": {
"h": 61.154,
"s": 64.463,
"l": 47.451
},
"oklch": {
"l": 0.80176,
"c": 0.16469,
"h": 110.8
},
"luminance": 0.52757
}Semantic roles & 50–950 ramp
primary
#C4C72B
secondary
#2B296D
accent
#40E744
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D