#C4C730#C4C730
#C4C730 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.162 H 110.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C4C730 |
|---|---|
| RGB | rgb(196, 199, 48) |
| HSL | hsl(61, 61%, 48%) |
| HSV | hsv(61, 76%, 78%) |
| CMYK | cmyk(1.5%, 0%, 75.9%, 22%) |
| CIE-LAB | lab(77.76, -18.14, 69.40) |
| CIE-LCH | lch(77.76, 71.73, 104.65°) |
| OKLab | oklab(80.2% -0.0574 0.1518) |
| OKLCH | oklch(80.2% 0.162 110.7) |
| XYZ | xyz(43.7234, 52.7972, 10.6834) |
| Luminance | 0.5280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.90
Bile
#B5C306
ΔE00 3.01
Puke Yellow
#C2BE0E
ΔE00 3.04
Vomit Yellow
#C7C10C
ΔE00 3.07
Dirty Yellow
#CDC50A
ΔE00 3.44
Snot
#ACBB0D
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4C730 #3330C7
analogous
#C77E30 #C4C730 #78C730
triadic
#C4C730 #30C4C7 #C730C4
tetradic
#C4C730 #30C77E #3330C7 #C73078
square
#C4C730 #30C77E #3330C7 #C73078
split-complementary
#C4C730 #3078C7 #7E30C7
monochromatic
#636418 #939624 #C4C730 #D5D85C #E2E48E
Accessibility & contrast
On white
1.82
#C4C730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#C4C730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4C730
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4C730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4C730 | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BE05
Deuteranopia (green-blind)
#D8C23D
Tritanopia (blue-blind)
#D2BAAB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #c4c730; /* rgb */ color: rgb(196, 199, 48); /* oklch */ color: oklch(80.2% 0.162 110.7);
Tailwind
colors: {
custom: {
50: '#dad775',
500: '#c4c730',
950: '#000000',
},
}SCSS
$custom: #c4c730; $custom-light: #dad775; $custom-dark: #000000;
JSON
{
"hex": "#c4c730",
"rgb": {
"r": 196,
"g": 199,
"b": 48
},
"hsl": {
"h": 61.192,
"s": 61.134,
"l": 48.431
},
"oklch": {
"l": 0.80202,
"c": 0.16228,
"h": 110.7
},
"luminance": 0.52796
}Semantic roles & 50–950 ramp
primary
#C4C730
secondary
#2E2C6F
accent
#44E447
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D