#CFC374#CFC374
#CFC374 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.101 H 100.8°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC374 |
|---|---|
| RGB | rgb(207, 195, 116) |
| HSL | hsl(52, 49%, 63%) |
| HSV | hsv(52, 44%, 81%) |
| CMYK | cmyk(0%, 5.8%, 44%, 18.8%) |
| CIE-LAB | lab(78.20, -6.77, 41.09) |
| CIE-LCH | lch(78.20, 41.65, 99.36°) |
| OKLab | oklab(80.98% -0.0189 0.0993) |
| OKLCH | oklch(80.98% 0.101 100.8) |
| XYZ | xyz(48.4007, 53.5581, 24.3078) |
| Luminance | 0.5356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.87
Sand (survey)
#E2CA76
ΔE00 4.19
Greenish Beige
#C9D179
ΔE00 6.08
Sandy
#F1DA7A
ΔE00 7.02
Sand
#C2B280
ΔE00 7.18
Tan (survey)
#D1B26F
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC374 #7480CF
analogous
#CF9574 #CFC374 #ADCF74
triadic
#CFC374 #74CFC3 #C374CF
tetradic
#CFC374 #74CF95 #7480CF #CF74AD
square
#CFC374 #74CF95 #7480CF #CF74AD
split-complementary
#CFC374 #74ADCF #9574CF
monochromatic
#958833 #BFAF47 #CFC374 #DFD7A1 #EEEACF
Accessibility & contrast
On white
1.79
#CFC374 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#CFC374 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC374
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC374 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC374 | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE6E
Deuteranopia (green-blind)
#D4C477
Tritanopia (blue-blind)
#DBB9B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc374; /* rgb */ color: rgb(207, 195, 116); /* oklch */ color: oklch(81.0% 0.101 100.8);
Tailwind
colors: {
custom: {
50: '#dfd59d',
500: '#cfc374',
950: '#000000',
},
}SCSS
$custom: #cfc374; $custom-light: #dfd59d; $custom-dark: #000000;
JSON
{
"hex": "#cfc374",
"rgb": {
"r": 207,
"g": 195,
"b": 116
},
"hsl": {
"h": 52.088,
"s": 48.663,
"l": 63.333
},
"oklch": {
"l": 0.80976,
"c": 0.1011,
"h": 100.8
},
"luminance": 0.53557
}Semantic roles & 50–950 ramp
primary
#CFC374
secondary
#4C579B
accent
#3DBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F