#CFC081#CFC081
#CFC081 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.084 H 96.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC081 |
|---|---|
| RGB | rgb(207, 192, 129) |
| HSL | hsl(48, 45%, 66%) |
| HSV | hsv(48, 38%, 81%) |
| CMYK | cmyk(0%, 7.2%, 37.7%, 18.8%) |
| CIE-LAB | lab(77.61, -3.81, 33.68) |
| CIE-LCH | lch(77.61, 33.90, 96.46°) |
| OKLab | oklab(80.57% -0.0093 0.0831) |
| OKLCH | oklch(80.57% 0.084 96.4) |
| XYZ | xyz(48.5451, 52.5511, 28.3508) |
| Luminance | 0.5255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.52
Darkkhaki
#BDB76B
ΔE00 4.84
Sand (survey)
#E2CA76
ΔE00 5.12
Tan (survey)
#D1B26F
ΔE00 5.78
Sandstone
#C9AE74
ΔE00 5.91
Very Light Brown
#D3B683
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC081 #8190CF
analogous
#CF9981 #CFC081 #B7CF81
triadic
#CFC081 #81CFC0 #C081CF
tetradic
#CFC081 #81CF99 #8190CF #CF81B7
square
#CFC081 #81CF99 #8190CF #CF81B7
split-complementary
#CFC081 #81B7CF #9981CF
monochromatic
#9B883B #BEAA55 #CFC081 #E0D6AD #F1ECDA
Accessibility & contrast
On white
1.82
#CFC081 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.51
#CFC081 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC081
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC081 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC081 | 1.00 | 1.82 | 11.51 | 11.51 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBD7C
Deuteranopia (green-blind)
#D0C283
Tritanopia (blue-blind)
#DAB7B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc081; /* rgb */ color: rgb(207, 192, 129); /* oklch */ color: oklch(80.6% 0.084 96.4);
Tailwind
colors: {
custom: {
50: '#dfd2a6',
500: '#cfc081',
950: '#000000',
},
}SCSS
$custom: #cfc081; $custom-light: #dfd2a6; $custom-dark: #000000;
JSON
{
"hex": "#cfc081",
"rgb": {
"r": 207,
"g": 192,
"b": 129
},
"hsl": {
"h": 48.462,
"s": 44.828,
"l": 65.882
},
"oklch": {
"l": 0.80568,
"c": 0.08357,
"h": 96.4
},
"luminance": 0.5255
}Semantic roles & 50–950 ramp
primary
#CFC081
secondary
#5463A0
accent
#48B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380