#CFC867#CFC867
#CFC867 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.120 H 105.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC867 |
|---|---|
| RGB | rgb(207, 200, 103) |
| HSL | hsl(56, 52%, 61%) |
| HSV | hsv(56, 50%, 81%) |
| CMYK | cmyk(0%, 3.4%, 50.2%, 18.8%) |
| CIE-LAB | lab(79.36, -10.56, 48.90) |
| CIE-LCH | lch(79.36, 50.02, 102.19°) |
| OKLab | oklab(81.84% -0.031 0.1156) |
| OKLCH | oklch(81.84% 0.12 105) |
| XYZ | xyz(48.8359, 55.5547, 20.9799) |
| Luminance | 0.5555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.74
Darkkhaki
#BDB76B
ΔE00 5.38
Sand (survey)
#E2CA76
ΔE00 5.50
Sandy
#F1DA7A
ΔE00 6.66
Greenish Tan
#BCCB7A
ΔE00 6.74
Dull Yellow
#EEDC5B
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC867 #676ECF
analogous
#CF9467 #CFC867 #A2CF67
triadic
#CFC867 #67CFC8 #C867CF
tetradic
#CFC867 #67CF94 #676ECF #CF67A2
square
#CFC867 #67CF94 #676ECF #CF67A2
split-complementary
#CFC867 #67A2CF #9467CF
monochromatic
#8F882D #BDB43C #CFC867 #DED996 #ECEAC4
Accessibility & contrast
On white
1.73
#CFC867 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.11
#CFC867 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC867
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC867 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC867 | 1.00 | 1.73 | 12.11 | 12.11 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C25E
Deuteranopia (green-blind)
#D9C76C
Tritanopia (blue-blind)
#DCBDB2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc867; /* rgb */ color: rgb(207, 200, 103); /* oklch */ color: oklch(81.8% 0.120 105.0);
Tailwind
colors: {
custom: {
50: '#e0d895',
500: '#cfc867',
950: '#000000',
},
}SCSS
$custom: #cfc867; $custom-light: #e0d895; $custom-dark: #000000;
JSON
{
"hex": "#cfc867",
"rgb": {
"r": 207,
"g": 200,
"b": 103
},
"hsl": {
"h": 55.962,
"s": 52,
"l": 60.784
},
"oklch": {
"l": 0.8184,
"c": 0.11973,
"h": 105
},
"luminance": 0.55553
}Semantic roles & 50–950 ramp
primary
#CFC867
secondary
#454B95
accent
#30BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F