#CFC76A#CFC76A
#CFC76A is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.116 H 104.3°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC76A |
|---|---|
| RGB | rgb(207, 199, 106) |
| HSL | hsl(55, 51%, 61%) |
| HSV | hsv(55, 49%, 81%) |
| CMYK | cmyk(0%, 3.9%, 48.8%, 18.8%) |
| CIE-LAB | lab(79.13, -9.79, 47.18) |
| CIE-LCH | lch(79.13, 48.18, 101.72°) |
| OKLab | oklab(81.67% -0.0285 0.1121) |
| OKLCH | oklch(81.67% 0.116 104.3) |
| XYZ | xyz(48.7583, 55.1543, 21.7103) |
| Luminance | 0.5515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.84
Darkkhaki
#BDB76B
ΔE00 4.94
Sand (survey)
#E2CA76
ΔE00 5.12
Sandy
#F1DA7A
ΔE00 6.62
Greenish Tan
#BCCB7A
ΔE00 6.73
Dull Yellow
#EEDC5B
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC76A #6A72CF
analogous
#CF956A #CFC76A #A5CF6A
triadic
#CFC76A #6ACFC7 #C76ACF
tetradic
#CFC76A #6ACF95 #6A72CF #CF6AA5
square
#CFC76A #6ACF95 #6A72CF #CF6AA5
split-complementary
#CFC76A #6AA5CF #956ACF
monochromatic
#90882E #BEB43D #CFC76A #DED898 #EDEAC7
Accessibility & contrast
On white
1.75
#CFC76A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#CFC76A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC76A
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC76A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC76A | 1.00 | 1.75 | 12.03 | 12.03 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C162
Deuteranopia (green-blind)
#D8C66E
Tritanopia (blue-blind)
#DCBCB1
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cfc76a; /* rgb */ color: rgb(207, 199, 106); /* oklch */ color: oklch(81.7% 0.116 104.3);
Tailwind
colors: {
custom: {
50: '#dfd797',
500: '#cfc76a',
950: '#000000',
},
}SCSS
$custom: #cfc76a; $custom-light: #dfd797; $custom-dark: #000000;
JSON
{
"hex": "#cfc76a",
"rgb": {
"r": 207,
"g": 199,
"b": 106
},
"hsl": {
"h": 55.248,
"s": 51.269,
"l": 61.373
},
"oklch": {
"l": 0.81669,
"c": 0.11569,
"h": 104.3
},
"luminance": 0.55153
}Semantic roles & 50–950 ramp
primary
#CFC76A
secondary
#474D96
accent
#33BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F