#CFC960#CFC960
#CFC960 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.127 H 105.9°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC960 |
|---|---|
| RGB | rgb(207, 201, 96) |
| HSL | hsl(57, 54%, 59%) |
| HSV | hsv(57, 54%, 81%) |
| CMYK | cmyk(0%, 2.9%, 53.6%, 18.8%) |
| CIE-LAB | lab(79.55, -11.66, 52.42) |
| CIE-LCH | lch(79.55, 53.70, 102.54°) |
| OKLab | oklab(81.97% -0.0349 0.1226) |
| OKLCH | oklch(81.97% 0.127 105.9) |
| XYZ | xyz(48.7315, 55.8847, 19.2839) |
| Luminance | 0.5588 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.06
Sand (survey)
#E2CA76
ΔE00 6.15
Darkkhaki
#BDB76B
ΔE00 6.19
Dull Yellow
#EEDC5B
ΔE00 6.49
Vomit Yellow
#C7C10C
ΔE00 6.51
Dirty Yellow
#CDC50A
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC960 #6066CF
analogous
#CF9260 #CFC960 #9ECF60
triadic
#CFC960 #60CFC9 #C960CF
tetradic
#CFC960 #60CF92 #6066CF #CF609E
square
#CFC960 #60CF92 #6066CF #CF609E
split-complementary
#CFC960 #609ECF #9260CF
monochromatic
#8B852A #BAB338 #CFC960 #DDD98F #EBE9BE
Accessibility & contrast
On white
1.72
#CFC960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.18
#CFC960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC960
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC960 | 1.00 | 1.72 | 12.18 | 12.18 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C256
Deuteranopia (green-blind)
#DBC765
Tritanopia (blue-blind)
#DCBEB1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc960; /* rgb */ color: rgb(207, 201, 96); /* oklch */ color: oklch(82.0% 0.127 105.9);
Tailwind
colors: {
custom: {
50: '#e0d990',
500: '#cfc960',
950: '#000000',
},
}SCSS
$custom: #cfc960; $custom-light: #e0d990; $custom-dark: #000000;
JSON
{
"hex": "#cfc960",
"rgb": {
"r": 207,
"g": 201,
"b": 96
},
"hsl": {
"h": 56.757,
"s": 53.623,
"l": 59.412
},
"oklch": {
"l": 0.81965,
"c": 0.12749,
"h": 105.9
},
"luminance": 0.55883
}Semantic roles & 50–950 ramp
primary
#CFC960
secondary
#424691
accent
#53DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F