#CFC671#CFC671
#CFC671 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.107 H 103.2°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC671 |
|---|---|
| RGB | rgb(207, 198, 113) |
| HSL | hsl(54, 49%, 63%) |
| HSV | hsv(54, 45%, 81%) |
| CMYK | cmyk(0%, 4.3%, 45.4%, 18.8%) |
| CIE-LAB | lab(78.95, -8.61, 43.52) |
| CIE-LCH | lch(78.95, 44.37, 101.19°) |
| OKLab | oklab(81.56% -0.0245 0.1046) |
| OKLCH | oklch(81.56% 0.107 103.2) |
| XYZ | xyz(48.9080, 54.8473, 23.6298) |
| Luminance | 0.5485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.32
Sand (survey)
#E2CA76
ΔE00 4.68
Greenish Beige
#C9D179
ΔE00 4.96
Greenish Tan
#BCCB7A
ΔE00 6.60
Sandy
#F1DA7A
ΔE00 6.73
Khaki (CSS)
#F0E68C
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC671 #717ACF
analogous
#CF9771 #CFC671 #A9CF71
triadic
#CFC671 #71CFC6 #C671CF
tetradic
#CFC671 #71CF97 #717ACF #CF71A9
square
#CFC671 #71CF97 #717ACF #CF71A9
split-complementary
#CFC671 #71A9CF #9771CF
monochromatic
#948A32 #C0B443 #CFC671 #DED89F #EEEBCC
Accessibility & contrast
On white
1.75
#CFC671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.97
#CFC671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC671
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC671 | 1.00 | 1.75 | 11.97 | 11.97 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C16A
Deuteranopia (green-blind)
#D7C675
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc671; /* rgb */ color: rgb(207, 198, 113); /* oklch */ color: oklch(81.6% 0.107 103.2);
Tailwind
colors: {
custom: {
50: '#dfd79b',
500: '#cfc671',
950: '#000000',
},
}SCSS
$custom: #cfc671; $custom-light: #dfd79b; $custom-dark: #000000;
JSON
{
"hex": "#cfc671",
"rgb": {
"r": 207,
"g": 198,
"b": 113
},
"hsl": {
"h": 54.255,
"s": 49.474,
"l": 62.745
},
"oklch": {
"l": 0.81557,
"c": 0.10738,
"h": 103.2
},
"luminance": 0.54846
}Semantic roles & 50–950 ramp
primary
#CFC671
secondary
#4B529A
accent
#37BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F