#CFC767#CFC767
#CFC767 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.119 H 104.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC767 |
|---|---|
| RGB | rgb(207, 199, 103) |
| HSL | hsl(55, 52%, 61%) |
| HSV | hsv(55, 50%, 81%) |
| CMYK | cmyk(0%, 3.9%, 50.2%, 18.8%) |
| CIE-LAB | lab(79.09, -10.05, 48.58) |
| CIE-LCH | lch(79.09, 49.61, 101.69°) |
| OKLab | oklab(81.63% -0.0296 0.1149) |
| OKLCH | oklch(81.63% 0.119 104.4) |
| XYZ | xyz(48.6050, 55.0930, 20.9030) |
| Luminance | 0.5509 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.99
Darkkhaki
#BDB76B
ΔE00 5.17
Sand (survey)
#E2CA76
ΔE00 5.26
Sandy
#F1DA7A
ΔE00 6.63
Greenish Tan
#BCCB7A
ΔE00 6.93
Dull Yellow
#EEDC5B
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC767 #676FCF
analogous
#CF9367 #CFC767 #A3CF67
triadic
#CFC767 #67CFC7 #C767CF
tetradic
#CFC767 #67CF93 #676FCF #CF67A3
square
#CFC767 #67CF93 #676FCF #CF67A3
split-complementary
#CFC767 #67A3CF #9367CF
monochromatic
#8F872D #BDB33C #CFC767 #DED896 #ECE9C4
Accessibility & contrast
On white
1.75
#CFC767 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.02
#CFC767 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC767
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC767 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC767 | 1.00 | 1.75 | 12.02 | 12.02 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C15E
Deuteranopia (green-blind)
#D8C66C
Tritanopia (blue-blind)
#DCBCB1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc767; /* rgb */ color: rgb(207, 199, 103); /* oklch */ color: oklch(81.6% 0.119 104.4);
Tailwind
colors: {
custom: {
50: '#e0d795',
500: '#cfc767',
950: '#000000',
},
}SCSS
$custom: #cfc767; $custom-light: #e0d795; $custom-dark: #000000;
JSON
{
"hex": "#cfc767",
"rgb": {
"r": 207,
"g": 199,
"b": 103
},
"hsl": {
"h": 55.385,
"s": 52,
"l": 60.784
},
"oklch": {
"l": 0.8163,
"c": 0.11869,
"h": 104.4
},
"luminance": 0.55092
}Semantic roles & 50–950 ramp
primary
#CFC767
secondary
#454B95
accent
#32BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F