#C2CE31#C2CE31
#C2CE31 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.6% C 0.169 H 114.1°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CE31 |
|---|---|
| RGB | rgb(194, 206, 49) |
| HSL | hsl(65, 62%, 50%) |
| HSV | hsv(65, 76%, 81%) |
| CMYK | cmyk(5.8%, 0%, 76.2%, 19.2%) |
| CIE-LAB | lab(79.52, -22.39, 70.65) |
| CIE-LCH | lch(79.52, 74.11, 107.58°) |
| OKLab | oklab(81.58% -0.069 0.1547) |
| OKLCH | oklch(81.58% 0.169 114.1) |
| XYZ | xyz(44.8752, 55.8346, 11.3183) |
| Luminance | 0.5583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.78
Baby Puke Green
#B6C406
ΔE00 2.93
Bile
#B5C306
ΔE00 3.14
Snot
#ACBB0D
ΔE00 5.12
Vomit Yellow
#C7C10C
ΔE00 5.20
Puke Yellow
#C2BE0E
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CE31 #3D31CE
analogous
#CE8C31 #C2CE31 #73CE31
triadic
#C2CE31 #31C2CE #CE31C2
tetradic
#C2CE31 #31CE8C #3D31CE #CE3173
square
#C2CE31 #31CE8C #3D31CE #CE3173
split-complementary
#C2CE31 #3173CE #8C31CE
monochromatic
#656B19 #939D25 #C2CE31 #D1DA62 #DFE694
Accessibility & contrast
On white
1.73
#C2CE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.17
#C2CE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CE31
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CE31 | 1.00 | 1.73 | 12.17 | 12.17 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC402
Deuteranopia (green-blind)
#DDC63F
Tritanopia (blue-blind)
#CFC2B1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c2ce31; /* rgb */ color: rgb(194, 206, 49); /* oklch */ color: oklch(81.6% 0.169 114.1);
Tailwind
colors: {
custom: {
50: '#d8dc76',
500: '#c2ce31',
950: '#000000',
},
}SCSS
$custom: #c2ce31; $custom-light: #d8dc76; $custom-dark: #000000;
JSON
{
"hex": "#c2ce31",
"rgb": {
"r": 194,
"g": 206,
"b": 49
},
"hsl": {
"h": 64.586,
"s": 61.569,
"l": 50
},
"oklch": {
"l": 0.81578,
"c": 0.16939,
"h": 114.1
},
"luminance": 0.55834
}Semantic roles & 50–950 ramp
primary
#C2CE31
secondary
#342E75
accent
#43E54F
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D