#CFC76D#CFC76D
#CFC76D is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.113 H 104.1°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC76D |
|---|---|
| RGB | rgb(207, 199, 109) |
| HSL | hsl(55, 51%, 62%) |
| HSV | hsv(55, 47%, 81%) |
| CMYK | cmyk(0%, 3.9%, 47.3%, 18.8%) |
| CIE-LAB | lab(79.17, -9.51, 45.76) |
| CIE-LCH | lch(79.17, 46.73, 101.74°) |
| OKLab | oklab(81.71% -0.0274 0.1092) |
| OKLCH | oklch(81.71% 0.113 104.1) |
| XYZ | xyz(48.9171, 55.2178, 22.5463) |
| Luminance | 0.5522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.72
Darkkhaki
#BDB76B
ΔE00 4.73
Sand (survey)
#E2CA76
ΔE00 5.00
Greenish Tan
#BCCB7A
ΔE00 6.55
Sandy
#F1DA7A
ΔE00 6.64
Khaki (CSS)
#F0E68C
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC76D #6D75CF
analogous
#CF966D #CFC76D #A6CF6D
triadic
#CFC76D #6DCFC7 #C76DCF
tetradic
#CFC76D #6DCF96 #6D75CF #CF6DA6
square
#CFC76D #6DCF96 #6D75CF #CF6DA6
split-complementary
#CFC76D #6DA6CF #966DCF
monochromatic
#928A30 #C0B53F #CFC76D #DED99B #EDEAC9
Accessibility & contrast
On white
1.74
#CFC76D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#CFC76D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC76D
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC76D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC76D | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C165
Deuteranopia (green-blind)
#D8C671
Tritanopia (blue-blind)
#DCBCB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc76d; /* rgb */ color: rgb(207, 199, 109); /* oklch */ color: oklch(81.7% 0.113 104.1);
Tailwind
colors: {
custom: {
50: '#dfd799',
500: '#cfc76d',
950: '#000000',
},
}SCSS
$custom: #cfc76d; $custom-light: #dfd799; $custom-dark: #000000;
JSON
{
"hex": "#cfc76d",
"rgb": {
"r": 207,
"g": 199,
"b": 109
},
"hsl": {
"h": 55.102,
"s": 50.515,
"l": 61.961
},
"oklch": {
"l": 0.8171,
"c": 0.11262,
"h": 104.1
},
"luminance": 0.55216
}Semantic roles & 50–950 ramp
primary
#CFC76D
secondary
#484F98
accent
#34BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F