#CFC672#CFC672
#CFC672 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.106 H 103.1°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC672 |
|---|---|
| RGB | rgb(207, 198, 114) |
| HSL | hsl(54, 49%, 63%) |
| HSV | hsv(54, 45%, 81%) |
| CMYK | cmyk(0%, 4.3%, 44.9%, 18.8%) |
| CIE-LAB | lab(78.97, -8.52, 43.04) |
| CIE-LCH | lch(78.97, 43.88, 101.19°) |
| OKLab | oklab(81.57% -0.0241 0.1036) |
| OKLCH | oklch(81.57% 0.106 103.1) |
| XYZ | xyz(48.9646, 54.8699, 23.9280) |
| Luminance | 0.5487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.27
Sand (survey)
#E2CA76
ΔE00 4.67
Greenish Beige
#C9D179
ΔE00 4.96
Greenish Tan
#BCCB7A
ΔE00 6.57
Sandy
#F1DA7A
ΔE00 6.76
Khaki (CSS)
#F0E68C
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC672 #727BCF
analogous
#CF9872 #CFC672 #A9CF72
triadic
#CFC672 #72CFC6 #C672CF
tetradic
#CFC672 #72CF98 #727BCF #CF72A9
square
#CFC672 #72CF98 #727BCF #CF72A9
split-complementary
#CFC672 #72A9CF #9872CF
monochromatic
#948B32 #BFB444 #CFC672 #DFD8A0 #EEEBCD
Accessibility & contrast
On white
1.75
#CFC672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.97
#CFC672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC672
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC672 | 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)
#D4C16B
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#DBBCB2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc672; /* rgb */ color: rgb(207, 198, 114); /* oklch */ color: oklch(81.6% 0.106 103.1);
Tailwind
colors: {
custom: {
50: '#dfd79c',
500: '#cfc672',
950: '#000000',
},
}SCSS
$custom: #cfc672; $custom-light: #dfd79c; $custom-dark: #000000;
JSON
{
"hex": "#cfc672",
"rgb": {
"r": 207,
"g": 198,
"b": 114
},
"hsl": {
"h": 54.194,
"s": 49.206,
"l": 62.941
},
"oklch": {
"l": 0.81572,
"c": 0.10632,
"h": 103.1
},
"luminance": 0.54868
}Semantic roles & 50–950 ramp
primary
#CFC672
secondary
#4B539A
accent
#37BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F