#CFC378#CFC378
#CFC378 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.097 H 100.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC378 |
|---|---|
| RGB | rgb(207, 195, 120) |
| HSL | hsl(52, 48%, 64%) |
| HSV | hsv(52, 42%, 81%) |
| CMYK | cmyk(0%, 5.8%, 42%, 18.8%) |
| CIE-LAB | lab(78.26, -6.36, 39.14) |
| CIE-LCH | lch(78.26, 39.65, 99.23°) |
| OKLab | oklab(81.04% -0.0173 0.0951) |
| OKLCH | oklch(81.04% 0.097 100.3) |
| XYZ | xyz(48.6384, 53.6531, 25.5596) |
| Luminance | 0.5365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.90
Sand (survey)
#E2CA76
ΔE00 4.31
Greenish Beige
#C9D179
ΔE00 6.24
Sand
#C2B280
ΔE00 6.66
Tan (survey)
#D1B26F
ΔE00 7.18
Sandy
#F1DA7A
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC378 #7884CF
analogous
#CF9878 #CFC378 #B0CF78
triadic
#CFC378 #78CFC3 #C378CF
tetradic
#CFC378 #78CF98 #7884CF #CF78B0
square
#CFC378 #78CF98 #7884CF #CF78B0
split-complementary
#CFC378 #78B0CF #9878CF
monochromatic
#978A36 #BFAF4B #CFC378 #DFD7A5 #EFEBD2
Accessibility & contrast
On white
1.79
#CFC378 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CFC378 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC378
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC378 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC378 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BF72
Deuteranopia (green-blind)
#D4C47B
Tritanopia (blue-blind)
#DBB9B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc378; /* rgb */ color: rgb(207, 195, 120); /* oklch */ color: oklch(81.0% 0.097 100.3);
Tailwind
colors: {
custom: {
50: '#dfd5a0',
500: '#cfc378',
950: '#000000',
},
}SCSS
$custom: #cfc378; $custom-light: #dfd5a0; $custom-dark: #000000;
JSON
{
"hex": "#cfc378",
"rgb": {
"r": 207,
"g": 195,
"b": 120
},
"hsl": {
"h": 51.724,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.81038,
"c": 0.09671,
"h": 100.3
},
"luminance": 0.53652
}Semantic roles & 50–950 ramp
primary
#CFC378
secondary
#4E599D
accent
#3FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380