#CFC080#CFC080
#CFC080 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.085 H 96.6°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC080 |
|---|---|
| RGB | rgb(207, 192, 128) |
| HSL | hsl(49, 45%, 66%) |
| HSV | hsv(49, 38%, 81%) |
| CMYK | cmyk(0%, 7.2%, 38.2%, 18.8%) |
| CIE-LAB | lab(77.59, -3.93, 34.18) |
| CIE-LCH | lch(77.59, 34.41, 96.56°) |
| OKLab | oklab(80.55% -0.0097 0.0842) |
| OKLCH | oklch(80.55% 0.085 96.6) |
| XYZ | xyz(48.4790, 52.5247, 28.0025) |
| Luminance | 0.5252 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.64
Darkkhaki
#BDB76B
ΔE00 4.72
Sand (survey)
#E2CA76
ΔE00 4.99
Tan (survey)
#D1B26F
ΔE00 5.78
Sandstone
#C9AE74
ΔE00 5.96
Very Light Brown
#D3B683
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC080 #808FCF
analogous
#CF9880 #CFC080 #B6CF80
triadic
#CFC080 #80CFC0 #C080CF
tetradic
#CFC080 #80CF98 #808FCF #CF80B6
square
#CFC080 #80CF98 #808FCF #CF80B6
split-complementary
#CFC080 #80B6CF #9880CF
monochromatic
#9A883A #BEAA54 #CFC080 #E0D6AC #F1ECD9
Accessibility & contrast
On white
1.83
#CFC080 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#CFC080 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC080
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC080 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC080 | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBD7B
Deuteranopia (green-blind)
#D0C282
Tritanopia (blue-blind)
#DAB7B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc080; /* rgb */ color: rgb(207, 192, 128); /* oklch */ color: oklch(80.5% 0.085 96.6);
Tailwind
colors: {
custom: {
50: '#dfd2a5',
500: '#cfc080',
950: '#000000',
},
}SCSS
$custom: #cfc080; $custom-light: #dfd2a5; $custom-dark: #000000;
JSON
{
"hex": "#cfc080",
"rgb": {
"r": 207,
"g": 192,
"b": 128
},
"hsl": {
"h": 48.608,
"s": 45.143,
"l": 65.686
},
"oklch": {
"l": 0.8055,
"c": 0.08472,
"h": 96.6
},
"luminance": 0.52523
}Semantic roles & 50–950 ramp
primary
#CFC080
secondary
#5362A0
accent
#48B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380