#C1CF38#C1CF38
#C1CF38 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.8% C 0.167 H 114.8°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C1CF38 |
|---|---|
| RGB | rgb(193, 207, 56) |
| HSL | hsl(66, 61%, 52%) |
| HSV | hsv(66, 73%, 81%) |
| CMYK | cmyk(6.8%, 0%, 72.9%, 18.8%) |
| CIE-LAB | lab(79.76, -22.98, 68.61) |
| CIE-LCH | lch(79.76, 72.36, 108.52°) |
| OKLab | oklab(81.76% -0.0701 0.1516) |
| OKLCH | oklch(81.76% 0.167 114.8) |
| XYZ | xyz(45.0202, 56.2494, 12.2262) |
| Luminance | 0.5625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.76
Baby Puke Green
#B6C406
ΔE00 3.35
Bile
#B5C306
ΔE00 3.54
Sickly Yellow
#D0E429
ΔE00 5.23
Snot
#ACBB0D
ΔE00 5.33
Pea
#A4BF20
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1CF38 #4638CF
analogous
#CF9238 #C1CF38 #76CF38
triadic
#C1CF38 #38C1CF #CF38C1
tetradic
#C1CF38 #38CF92 #4638CF #CF3876
square
#C1CF38 #38CF92 #4638CF #CF3876
split-complementary
#C1CF38 #3876CF #9238CF
monochromatic
#69711B #97A327 #C1CF38 #D0DB69 #E0E79B
Accessibility & contrast
On white
1.71
#C1CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.25
#C1CF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1CF38
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1CF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1CF38 | 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)
#DEC519
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#CEC3B2
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c1cf38; /* rgb */ color: rgb(193, 207, 56); /* oklch */ color: oklch(81.8% 0.167 114.8);
Tailwind
colors: {
custom: {
50: '#d7dd79',
500: '#c1cf38',
950: '#000000',
},
}SCSS
$custom: #c1cf38; $custom-light: #d7dd79; $custom-dark: #000000;
JSON
{
"hex": "#c1cf38",
"rgb": {
"r": 193,
"g": 207,
"b": 56
},
"hsl": {
"h": 65.563,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.8176,
"c": 0.167,
"h": 114.8
},
"luminance": 0.56249
}Semantic roles & 50–950 ramp
primary
#C1CF38
secondary
#38317A
accent
#44E452
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D