#CFC674#CFC674
#CFC674 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.104 H 102.9°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC674 |
|---|---|
| RGB | rgb(207, 198, 116) |
| HSL | hsl(54, 49%, 63%) |
| HSV | hsv(54, 44%, 81%) |
| CMYK | cmyk(0%, 4.3%, 44%, 18.8%) |
| CIE-LAB | lab(78.99, -8.32, 42.08) |
| CIE-LCH | lch(78.99, 42.89, 101.18°) |
| OKLab | oklab(81.6% -0.0233 0.1015) |
| OKLCH | oklch(81.6% 0.104 102.9) |
| XYZ | xyz(49.0797, 54.9159, 24.5341) |
| Luminance | 0.5492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.21
Sand (survey)
#E2CA76
ΔE00 4.66
Greenish Beige
#C9D179
ΔE00 4.98
Greenish Tan
#BCCB7A
ΔE00 6.52
Sandy
#F1DA7A
ΔE00 6.83
Khaki (CSS)
#F0E68C
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC674 #747DCF
analogous
#CF9874 #CFC674 #AACF74
triadic
#CFC674 #74CFC6 #C674CF
tetradic
#CFC674 #74CF98 #747DCF #CF74AA
square
#CFC674 #74CF98 #747DCF #CF74AA
split-complementary
#CFC674 #74AACF #9874CF
monochromatic
#958B33 #BFB347 #CFC674 #DFD9A1 #EEEBCF
Accessibility & contrast
On white
1.75
#CFC674 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.98
#CFC674 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC674
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC674 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC674 | 1.00 | 1.75 | 11.98 | 11.98 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C16D
Deuteranopia (green-blind)
#D6C677
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc674; /* rgb */ color: rgb(207, 198, 116); /* oklch */ color: oklch(81.6% 0.104 102.9);
Tailwind
colors: {
custom: {
50: '#dfd79d',
500: '#cfc674',
950: '#000000',
},
}SCSS
$custom: #cfc674; $custom-light: #dfd79d; $custom-dark: #000000;
JSON
{
"hex": "#cfc674",
"rgb": {
"r": 207,
"g": 198,
"b": 116
},
"hsl": {
"h": 54.066,
"s": 48.663,
"l": 63.333
},
"oklch": {
"l": 0.81601,
"c": 0.10417,
"h": 102.9
},
"luminance": 0.54915
}Semantic roles & 50–950 ramp
primary
#CFC674
secondary
#4C549B
accent
#38BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F