#C6CF52#C6CF52
#C6CF52 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.4% C 0.148 H 113.1°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C6CF52 |
|---|---|
| RGB | rgb(198, 207, 82) |
| HSL | hsl(64, 57%, 57%) |
| HSV | hsv(64, 60%, 81%) |
| CMYK | cmyk(4.3%, 0%, 60.4%, 18.8%) |
| CIE-LAB | lab(80.32, -19.41, 59.33) |
| CIE-LCH | lch(80.32, 62.43, 108.12°) |
| OKLab | oklab(82.36% -0.0579 0.1359) |
| OKLCH | oklch(82.36% 0.148 113.1) |
| XYZ | xyz(47.1257, 57.2415, 16.5472) |
| Luminance | 0.5724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 5.13
Greenish Beige
#C9D179
ΔE00 5.16
Baby Puke Green
#B6C406
ΔE00 5.18
Bile
#B5C306
ΔE00 5.29
Snot
#ACBB0D
ΔE00 6.51
Pea
#A4BF20
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6CF52 #5B52CF
analogous
#CF9A52 #C6CF52 #88CF52
triadic
#C6CF52 #52C6CF #CF52C6
tetradic
#C6CF52 #52CF9A #5B52CF #CF5288
square
#C6CF52 #52CF9A #5B52CF #CF5288
split-complementary
#C6CF52 #5288CF #9A52CF
monochromatic
#7C8224 #A9B231 #C6CF52 #D6DC82 #E6EAB2
Accessibility & contrast
On white
1.69
#C6CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.45
#C6CF52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6CF52
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6CF52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6CF52 | 1.00 | 1.69 | 12.45 | 12.45 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#DDC95A
Tritanopia (blue-blind)
#D2C4B5
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #c6cf52; /* rgb */ color: rgb(198, 207, 82); /* oklch */ color: oklch(82.4% 0.148 113.1);
Tailwind
colors: {
custom: {
50: '#dadd88',
500: '#c6cf52',
950: '#000000',
},
}SCSS
$custom: #c6cf52; $custom-light: #dadd88; $custom-dark: #000000;
JSON
{
"hex": "#c6cf52",
"rgb": {
"r": 198,
"g": 207,
"b": 82
},
"hsl": {
"h": 64.32,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.8236,
"c": 0.1477,
"h": 113.1
},
"luminance": 0.57241
}Semantic roles & 50–950 ramp
primary
#C6CF52
secondary
#413C8A
accent
#48E053
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F