#CFC673#CFC673
#CFC673 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.105 H 103.0°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC673 |
|---|---|
| RGB | rgb(207, 198, 115) |
| HSL | hsl(54, 49%, 63%) |
| HSV | hsv(54, 44%, 81%) |
| CMYK | cmyk(0%, 4.3%, 44.4%, 18.8%) |
| CIE-LAB | lab(78.98, -8.42, 42.56) |
| CIE-LCH | lch(78.98, 43.39, 101.19°) |
| OKLab | oklab(81.59% -0.0237 0.1026) |
| OKLCH | oklch(81.59% 0.105 103) |
| XYZ | xyz(49.0218, 54.8928, 24.2294) |
| Luminance | 0.5489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.24
Sand (survey)
#E2CA76
ΔE00 4.67
Greenish Beige
#C9D179
ΔE00 4.97
Greenish Tan
#BCCB7A
ΔE00 6.54
Sandy
#F1DA7A
ΔE00 6.79
Khaki (CSS)
#F0E68C
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC673 #737CCF
analogous
#CF9873 #CFC673 #AACF73
triadic
#CFC673 #73CFC6 #C673CF
tetradic
#CFC673 #73CF98 #737CCF #CF73AA
square
#CFC673 #73CF98 #737CCF #CF73AA
split-complementary
#CFC673 #73AACF #9873CF
monochromatic
#958B33 #BFB345 #CFC673 #DFD9A1 #EEEBCE
Accessibility & contrast
On white
1.75
#CFC673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.98
#CFC673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC673
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC673 | 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)
#D3C16C
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc673; /* rgb */ color: rgb(207, 198, 115); /* oklch */ color: oklch(81.6% 0.105 103.0);
Tailwind
colors: {
custom: {
50: '#dfd79d',
500: '#cfc673',
950: '#000000',
},
}SCSS
$custom: #cfc673; $custom-light: #dfd79d; $custom-dark: #000000;
JSON
{
"hex": "#cfc673",
"rgb": {
"r": 207,
"g": 198,
"b": 115
},
"hsl": {
"h": 54.13,
"s": 48.936,
"l": 63.137
},
"oklch": {
"l": 0.81587,
"c": 0.10525,
"h": 103
},
"luminance": 0.54891
}Semantic roles & 50–950 ramp
primary
#CFC673
secondary
#4C539B
accent
#38BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F