#C4C638#C4C638
#C4C638 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.0% C 0.157 H 110.3°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C4C638 |
|---|---|
| RGB | rgb(196, 198, 56) |
| HSL | hsl(61, 56%, 50%) |
| HSV | hsv(61, 72%, 78%) |
| CMYK | cmyk(1%, 0%, 71.7%, 22.4%) |
| CIE-LAB | lab(77.53, -17.30, 66.56) |
| CIE-LCH | lch(77.53, 68.77, 104.57°) |
| OKLab | oklab(80.03% -0.0544 0.1472) |
| OKLCH | oklch(80.03% 0.157 110.3) |
| XYZ | xyz(43.6744, 52.4107, 11.5563) |
| Luminance | 0.5241 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.21
Baby Puke Green
#B6C406
ΔE00 3.32
Vomit Yellow
#C7C10C
ΔE00 3.32
Bile
#B5C306
ΔE00 3.39
Dirty Yellow
#CDC50A
ΔE00 3.76
Snot
#ACBB0D
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4C638 #3A38C6
analogous
#C68138 #C4C638 #7DC638
triadic
#C4C638 #38C4C6 #C638C4
tetradic
#C4C638 #38C681 #3A38C6 #C6387D
square
#C4C638 #38C681 #3A38C6 #C6387D
split-complementary
#C4C638 #387DC6 #8138C6
monochromatic
#66671D #95962B #C4C638 #D3D467 #E0E297
Accessibility & contrast
On white
1.83
#C4C638 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#C4C638 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4C638
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4C638 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4C638 | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BD1D
Deuteranopia (green-blind)
#D7C143
Tritanopia (blue-blind)
#D2BAAB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #c4c638; /* rgb */ color: rgb(196, 198, 56); /* oklch */ color: oklch(80.0% 0.157 110.3);
Tailwind
colors: {
custom: {
50: '#d9d778',
500: '#c4c638',
950: '#000000',
},
}SCSS
$custom: #c4c638; $custom-light: #d9d778; $custom-dark: #000000;
JSON
{
"hex": "#c4c638",
"rgb": {
"r": 196,
"g": 198,
"b": 56
},
"hsl": {
"h": 60.845,
"s": 55.906,
"l": 49.804
},
"oklch": {
"l": 0.80032,
"c": 0.1569,
"h": 110.3
},
"luminance": 0.52409
}Semantic roles & 50–950 ramp
primary
#C4C638
secondary
#323171
accent
#49DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D