#C2CE42#C2CE42
#C2CE42 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.7% C 0.159 H 114.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CE42 |
|---|---|
| RGB | rgb(194, 206, 66) |
| HSL | hsl(65, 59%, 53%) |
| HSV | hsv(65, 68%, 81%) |
| CMYK | cmyk(5.8%, 0%, 68%, 19.2%) |
| CIE-LAB | lab(79.62, -21.57, 64.94) |
| CIE-LCH | lch(79.62, 68.43, 108.37°) |
| OKLab | oklab(81.69% -0.0653 0.1455) |
| OKLCH | oklch(81.69% 0.159 114.2) |
| XYZ | xyz(45.3040, 56.0061, 13.5769) |
| Luminance | 0.5601 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.59
Baby Puke Green
#B6C406
ΔE00 3.78
Bile
#B5C306
ΔE00 3.93
Snot
#ACBB0D
ΔE00 5.45
Pea
#A4BF20
ΔE00 5.53
Sickly Yellow
#D0E429
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CE42 #4E42CE
analogous
#CE9442 #C2CE42 #7CCE42
triadic
#C2CE42 #42C2CE #CE42C2
tetradic
#C2CE42 #42CE94 #4E42CE #CE427C
square
#C2CE42 #42CE94 #4E42CE #CE427C
split-complementary
#C2CE42 #427CCE #9442CE
monochromatic
#6F771F #9DA72B #C2CE42 #D2DB73 #E1E7A3
Accessibility & contrast
On white
1.72
#C2CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.20
#C2CE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CE42
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CE42 | 1.00 | 1.72 | 12.20 | 12.20 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#DCC74C
Tritanopia (blue-blind)
#CEC2B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c2ce42; /* rgb */ color: rgb(194, 206, 66); /* oklch */ color: oklch(81.7% 0.159 114.2);
Tailwind
colors: {
custom: {
50: '#d8dc7e',
500: '#c2ce42',
950: '#000000',
},
}SCSS
$custom: #c2ce42; $custom-light: #d8dc7e; $custom-dark: #000000;
JSON
{
"hex": "#c2ce42",
"rgb": {
"r": 194,
"g": 206,
"b": 66
},
"hsl": {
"h": 65.143,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.81687,
"c": 0.15946,
"h": 114.2
},
"luminance": 0.56005
}Semantic roles & 50–950 ramp
primary
#C2CE42
secondary
#3B357F
accent
#46E253
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E