#CFC06C#CFC06C
#CFC06C is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.107 H 99.4°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC06C |
|---|---|
| RGB | rgb(207, 192, 108) |
| HSL | hsl(51, 51%, 62%) |
| HSV | hsv(51, 48%, 81%) |
| CMYK | cmyk(0%, 7.2%, 47.8%, 18.8%) |
| CIE-LAB | lab(77.31, -6.00, 43.98) |
| CIE-LCH | lch(77.31, 44.39, 97.77°) |
| OKLab | oklab(80.23% -0.0174 0.1052) |
| OKLCH | oklch(80.23% 0.107 99.4) |
| XYZ | xyz(47.2899, 52.0490, 21.7399) |
| Luminance | 0.5205 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.92
Darkkhaki
#BDB76B
ΔE00 4.03
Desert
#CCAD60
ΔE00 6.68
Tan (survey)
#D1B26F
ΔE00 6.78
Sandy
#F1DA7A
ΔE00 7.05
Greenish Beige
#C9D179
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC06C #6C7BCF
analogous
#CF8F6C #CFC06C #ADCF6C
triadic
#CFC06C #6CCFC0 #C06CCF
tetradic
#CFC06C #6CCF8F #6C7BCF #CF6CAD
square
#CFC06C #6CCF8F #6C7BCF #CF6CAD
split-complementary
#CFC06C #6CADCF #8F6CCF
monochromatic
#91822F #BFAC3E #CFC06C #DED49A #EDE8C8
Accessibility & contrast
On white
1.84
#CFC06C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#CFC06C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC06C
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC06C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC06C | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBC65
Deuteranopia (green-blind)
#D3C170
Tritanopia (blue-blind)
#DCB5AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc06c; /* rgb */ color: rgb(207, 192, 108); /* oklch */ color: oklch(80.2% 0.107 99.4);
Tailwind
colors: {
custom: {
50: '#dfd298',
500: '#cfc06c',
950: '#000000',
},
}SCSS
$custom: #cfc06c; $custom-light: #dfd298; $custom-dark: #000000;
JSON
{
"hex": "#cfc06c",
"rgb": {
"r": 207,
"g": 192,
"b": 108
},
"hsl": {
"h": 50.909,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.80234,
"c": 0.10666,
"h": 99.4
},
"luminance": 0.52047
}Semantic roles & 50–950 ramp
primary
#CFC06C
secondary
#485497
accent
#3EBE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F