#CFC376#CFC376
#CFC376 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.099 H 100.5°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC376 |
|---|---|
| RGB | rgb(207, 195, 118) |
| HSL | hsl(52, 48%, 64%) |
| HSV | hsv(52, 43%, 81%) |
| CMYK | cmyk(0%, 5.8%, 43%, 18.8%) |
| CIE-LAB | lab(78.23, -6.57, 40.12) |
| CIE-LCH | lch(78.23, 40.65, 99.30°) |
| OKLab | oklab(81.01% -0.0181 0.0972) |
| OKLCH | oklch(81.01% 0.099 100.5) |
| XYZ | xyz(48.5183, 53.6051, 24.9271) |
| Luminance | 0.5360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.87
Sand (survey)
#E2CA76
ΔE00 4.24
Greenish Beige
#C9D179
ΔE00 6.15
Sand
#C2B280
ΔE00 6.92
Sandy
#F1DA7A
ΔE00 7.13
Tan (survey)
#D1B26F
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC376 #7682CF
analogous
#CF9676 #CFC376 #AECF76
triadic
#CFC376 #76CFC3 #C376CF
tetradic
#CFC376 #76CF96 #7682CF #CF76AE
square
#CFC376 #76CF96 #7682CF #CF76AE
split-complementary
#CFC376 #76AECF #9676CF
monochromatic
#968935 #BFAF49 #CFC376 #DFD7A3 #EFEBD1
Accessibility & contrast
On white
1.79
#CFC376 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#CFC376 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC376
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC376 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC376 | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BF70
Deuteranopia (green-blind)
#D4C479
Tritanopia (blue-blind)
#DBB9B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc376; /* rgb */ color: rgb(207, 195, 118); /* oklch */ color: oklch(81.0% 0.099 100.5);
Tailwind
colors: {
custom: {
50: '#dfd59f',
500: '#cfc376',
950: '#000000',
},
}SCSS
$custom: #cfc376; $custom-light: #dfd59f; $custom-dark: #000000;
JSON
{
"hex": "#cfc376",
"rgb": {
"r": 207,
"g": 195,
"b": 118
},
"hsl": {
"h": 51.91,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.81006,
"c": 0.09891,
"h": 100.5
},
"luminance": 0.53604
}Semantic roles & 50–950 ramp
primary
#CFC376
secondary
#4D589C
accent
#3EBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F