#C2CF52#C2CF52
#C2CF52 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.0% C 0.149 H 114.7°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CF52 |
|---|---|
| RGB | rgb(194, 207, 82) |
| HSL | hsl(66, 57%, 57%) |
| HSV | hsv(66, 60%, 81%) |
| CMYK | cmyk(6.3%, 0%, 60.4%, 18.8%) |
| CIE-LAB | lab(80.01, -21.05, 58.92) |
| CIE-LCH | lch(80.01, 62.56, 109.66°) |
| OKLab | oklab(82.04% -0.0622 0.1351) |
| OKLCH | oklch(82.04% 0.149 114.7) |
| XYZ | xyz(46.0850, 56.7049, 16.4984) |
| Luminance | 0.5670 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.85
Greenish Beige
#C9D179
ΔE00 5.11
Baby Puke Green
#B6C406
ΔE00 5.21
Bile
#B5C306
ΔE00 5.31
Pea
#A4BF20
ΔE00 6.00
Snot
#ACBB0D
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CF52 #5F52CF
analogous
#CF9E52 #C2CF52 #84CF52
triadic
#C2CF52 #52C2CF #CF52C2
tetradic
#C2CF52 #52CF9E #5F52CF #CF5284
square
#C2CF52 #52CF9E #5F52CF #CF5284
split-complementary
#C2CF52 #5284CF #9E52CF
monochromatic
#798224 #A5B231 #C2CF52 #D3DC82 #E4EAB2
Accessibility & contrast
On white
1.70
#C2CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.34
#C2CF52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CF52
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CF52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CF52 | 1.00 | 1.70 | 12.34 | 12.34 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC543
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#CEC4B5
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c2cf52; /* rgb */ color: rgb(194, 207, 82); /* oklch */ color: oklch(82.0% 0.149 114.7);
Tailwind
colors: {
custom: {
50: '#d7dd88',
500: '#c2cf52',
950: '#000000',
},
}SCSS
$custom: #c2cf52; $custom-light: #d7dd88; $custom-dark: #000000;
JSON
{
"hex": "#c2cf52",
"rgb": {
"r": 194,
"g": 207,
"b": 82
},
"hsl": {
"h": 66.24,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.82044,
"c": 0.14873,
"h": 114.7
},
"luminance": 0.56704
}Semantic roles & 50–950 ramp
primary
#C2CF52
secondary
#443C8A
accent
#48E058
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F