#CFC06F#CFC06F
#CFC06F is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.104 H 99.1°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC06F |
|---|---|
| RGB | rgb(207, 192, 111) |
| HSL | hsl(51, 50%, 62%) |
| HSV | hsv(51, 46%, 81%) |
| CMYK | cmyk(0%, 7.2%, 46.4%, 18.8%) |
| CIE-LAB | lab(77.35, -5.71, 42.54) |
| CIE-LCH | lch(77.35, 42.92, 97.65°) |
| OKLab | oklab(80.28% -0.0163 0.1022) |
| OKLCH | oklch(80.28% 0.104 99.1) |
| XYZ | xyz(47.4523, 52.1140, 22.5953) |
| Luminance | 0.5211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.90
Darkkhaki
#BDB76B
ΔE00 3.92
Tan (survey)
#D1B26F
ΔE00 6.54
Desert
#CCAD60
ΔE00 6.59
Sand
#C2B280
ΔE00 6.98
Greenish Beige
#C9D179
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC06F #6F7ECF
analogous
#CF906F #CFC06F #AECF6F
triadic
#CFC06F #6FCFC0 #C06FCF
tetradic
#CFC06F #6FCF90 #6F7ECF #CF6FAE
square
#CFC06F #6FCF90 #6F7ECF #CF6FAE
split-complementary
#CFC06F #6FAECF #906FCF
monochromatic
#938331 #C0AC41 #CFC06F #DED49D #EEE8CB
Accessibility & contrast
On white
1.84
#CFC06F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#CFC06F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC06F
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC06F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC06F | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBC68
Deuteranopia (green-blind)
#D2C272
Tritanopia (blue-blind)
#DCB6AD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc06f; /* rgb */ color: rgb(207, 192, 111); /* oklch */ color: oklch(80.3% 0.104 99.1);
Tailwind
colors: {
custom: {
50: '#dfd29a',
500: '#cfc06f',
950: '#000000',
},
}SCSS
$custom: #cfc06f; $custom-light: #dfd29a; $custom-dark: #000000;
JSON
{
"hex": "#cfc06f",
"rgb": {
"r": 207,
"g": 192,
"b": 111
},
"hsl": {
"h": 50.625,
"s": 50,
"l": 62.353
},
"oklch": {
"l": 0.80277,
"c": 0.10352,
"h": 99.1
},
"luminance": 0.52112
}Semantic roles & 50–950 ramp
primary
#CFC06F
secondary
#4A5699
accent
#3FBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F