#CFC07C#CFC07C
#CFC07C is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.089 H 97.3°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC07C |
|---|---|
| RGB | rgb(207, 192, 124) |
| HSL | hsl(49, 46%, 65%) |
| HSV | hsv(49, 40%, 81%) |
| CMYK | cmyk(0%, 7.2%, 40.1%, 18.8%) |
| CIE-LAB | lab(77.53, -4.37, 36.17) |
| CIE-LCH | lch(77.53, 36.43, 96.90°) |
| OKLab | oklab(80.48% -0.0113 0.0886) |
| OKLCH | oklch(80.48% 0.089 97.3) |
| XYZ | xyz(48.2209, 52.4214, 26.6431) |
| Luminance | 0.5242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.31
Sand (survey)
#E2CA76
ΔE00 4.55
Sand
#C2B280
ΔE00 5.16
Tan (survey)
#D1B26F
ΔE00 5.83
Sandstone
#C9AE74
ΔE00 6.20
Desert
#CCAD60
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC07C #7C8BCF
analogous
#CF977C #CFC07C #B4CF7C
triadic
#CFC07C #7CCFC0 #C07CCF
tetradic
#CFC07C #7CCF97 #7C8BCF #CF7CB4
square
#CFC07C #7CCF97 #7C8BCF #CF7CB4
split-complementary
#CFC07C #7CB4CF #977CCF
monochromatic
#998738 #BFAA4F #CFC07C #DFD6A9 #F0EBD6
Accessibility & contrast
On white
1.83
#CFC07C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#CFC07C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC07C
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC07C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC07C | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBD77
Deuteranopia (green-blind)
#D1C27F
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc07c; /* rgb */ color: rgb(207, 192, 124); /* oklch */ color: oklch(80.5% 0.089 97.3);
Tailwind
colors: {
custom: {
50: '#dfd2a3',
500: '#cfc07c',
950: '#000000',
},
}SCSS
$custom: #cfc07c; $custom-light: #dfd2a3; $custom-dark: #000000;
JSON
{
"hex": "#cfc07c",
"rgb": {
"r": 207,
"g": 192,
"b": 124
},
"hsl": {
"h": 49.157,
"s": 46.369,
"l": 64.902
},
"oklch": {
"l": 0.80482,
"c": 0.08928,
"h": 97.3
},
"luminance": 0.5242
}Semantic roles & 50–950 ramp
primary
#CFC07C
secondary
#515F9E
accent
#46BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380