#CFC760#CFC760
#CFC760 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.125 H 104.8°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC760 |
|---|---|
| RGB | rgb(207, 199, 96) |
| HSL | hsl(56, 54%, 59%) |
| HSV | hsv(56, 54%, 81%) |
| CMYK | cmyk(0%, 3.9%, 53.6%, 18.8%) |
| CIE-LAB | lab(79.02, -10.64, 51.81) |
| CIE-LCH | lch(79.02, 52.89, 101.61°) |
| OKLab | oklab(81.54% -0.032 0.1213) |
| OKLCH | oklch(81.54% 0.125 104.8) |
| XYZ | xyz(48.2683, 54.9583, 19.1295) |
| Luminance | 0.5496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.47
Sand (survey)
#E2CA76
ΔE00 5.69
Darkkhaki
#BDB76B
ΔE00 5.78
Vomit Yellow
#C7C10C
ΔE00 6.54
Puke Yellow
#C2BE0E
ΔE00 6.61
Dirty Yellow
#CDC50A
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC760 #6068CF
analogous
#CF9060 #CFC760 #9FCF60
triadic
#CFC760 #60CFC7 #C760CF
tetradic
#CFC760 #60CF90 #6068CF #CF609F
square
#CFC760 #60CF90 #6068CF #CF609F
split-complementary
#CFC760 #609FCF #9060CF
monochromatic
#8B842A #BAB038 #CFC760 #DDD88F #EBE8BE
Accessibility & contrast
On white
1.75
#CFC760 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#CFC760 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC760
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC760 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC760 | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C156
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#DCBCB0
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc760; /* rgb */ color: rgb(207, 199, 96); /* oklch */ color: oklch(81.5% 0.125 104.8);
Tailwind
colors: {
custom: {
50: '#e0d790',
500: '#cfc760',
950: '#000000',
},
}SCSS
$custom: #cfc760; $custom-light: #e0d790; $custom-dark: #000000;
JSON
{
"hex": "#cfc760",
"rgb": {
"r": 207,
"g": 199,
"b": 96
},
"hsl": {
"h": 55.676,
"s": 53.623,
"l": 59.412
},
"oklch": {
"l": 0.81543,
"c": 0.12544,
"h": 104.8
},
"luminance": 0.54957
}Semantic roles & 50–950 ramp
primary
#CFC760
secondary
#424891
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F