#CFC07A#CFC07A
#CFC07A is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.092 H 97.6°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC07A |
|---|---|
| RGB | rgb(207, 192, 122) |
| HSL | hsl(49, 47%, 65%) |
| HSV | hsv(49, 41%, 81%) |
| CMYK | cmyk(0%, 7.2%, 41.1%, 18.8%) |
| CIE-LAB | lab(77.50, -4.59, 37.16) |
| CIE-LCH | lch(77.50, 37.44, 97.04°) |
| OKLab | oklab(80.45% -0.012 0.0907) |
| OKLCH | oklch(80.45% 0.092 97.6) |
| XYZ | xyz(48.0957, 52.3714, 25.9838) |
| Luminance | 0.5237 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.15
Sand (survey)
#E2CA76
ΔE00 4.37
Sand
#C2B280
ΔE00 5.43
Tan (survey)
#D1B26F
ΔE00 5.90
Sandstone
#C9AE74
ΔE00 6.35
Desert
#CCAD60
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC07A #7A89CF
analogous
#CF967A #CFC07A #B3CF7A
triadic
#CFC07A #7ACFC0 #C07ACF
tetradic
#CFC07A #7ACF96 #7A89CF #CF7AB3
square
#CFC07A #7ACF96 #7A89CF #CF7AB3
split-complementary
#CFC07A #7AB3CF #967ACF
monochromatic
#988737 #BFAB4D #CFC07A #DFD5A7 #EFEBD4
Accessibility & contrast
On white
1.83
#CFC07A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#CFC07A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC07A
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC07A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC07A | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBC75
Deuteranopia (green-blind)
#D1C27D
Tritanopia (blue-blind)
#DBB6AF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc07a; /* rgb */ color: rgb(207, 192, 122); /* oklch */ color: oklch(80.4% 0.092 97.6);
Tailwind
colors: {
custom: {
50: '#dfd2a1',
500: '#cfc07a',
950: '#000000',
},
}SCSS
$custom: #cfc07a; $custom-light: #dfd2a1; $custom-dark: #000000;
JSON
{
"hex": "#cfc07a",
"rgb": {
"r": 207,
"g": 192,
"b": 122
},
"hsl": {
"h": 49.412,
"s": 46.961,
"l": 64.51
},
"oklch": {
"l": 0.80448,
"c": 0.09153,
"h": 97.6
},
"luminance": 0.5237
}Semantic roles & 50–950 ramp
primary
#CFC07A
secondary
#505D9E
accent
#45BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380