#DFCA5B#DFCA5B
#DFCA5B is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.133 H 98.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #DFCA5B |
|---|---|
| RGB | rgb(223, 202, 91) |
| HSL | hsl(50, 67%, 62%) |
| HSV | hsv(50, 59%, 87%) |
| CMYK | cmyk(0%, 9.4%, 59.2%, 12.5%) |
| CIE-LAB | lab(81.12, -5.93, 56.86) |
| CIE-LCH | lch(81.12, 57.17, 95.96°) |
| OKLab | oklab(83.52% -0.02 0.1312) |
| OKLCH | oklch(83.52% 0.133 98.7) |
| XYZ | xyz(53.4424, 58.6867, 18.4081) |
| Luminance | 0.5868 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.09
Sandy
#F1DA7A
ΔE00 4.55
Dull Yellow
#EEDC5B
ΔE00 4.57
Maize
#F4D054
ΔE00 4.60
Light Mustard
#F7D560
ΔE00 4.66
Pale Gold
#FDDE6C
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFCA5B #5B70DF
analogous
#DF885B #DFCA5B #B2DF5B
triadic
#DFCA5B #5BDFCA #CA5BDF
tetradic
#DFCA5B #5BDF88 #5B70DF #DF5BB2
square
#DFCA5B #5BDF88 #5B70DF #DF5BB2
split-complementary
#DFCA5B #5BB2DF #885BDF
monochromatic
#A08C1F #D4B829 #DFCA5B #E9DB8E #F3EBC1
Accessibility & contrast
On white
1.65
#DFCA5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.74
#DFCA5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFCA5B
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFCA5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFCA5B | 1.00 | 1.65 | 12.74 | 12.74 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC54F
Deuteranopia (green-blind)
#E1CD60
Tritanopia (blue-blind)
#EFBDB2
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #dfca5b; /* rgb */ color: rgb(223, 202, 91); /* oklch */ color: oklch(83.5% 0.133 98.7);
Tailwind
colors: {
custom: {
50: '#ecd98d',
500: '#dfca5b',
950: '#000000',
},
}SCSS
$custom: #dfca5b; $custom-light: #ecd98d; $custom-dark: #000000;
JSON
{
"hex": "#dfca5b",
"rgb": {
"r": 223,
"g": 202,
"b": 91
},
"hsl": {
"h": 50.455,
"s": 67.347,
"l": 61.569
},
"oklch": {
"l": 0.83522,
"c": 0.13275,
"h": 98.7
},
"luminance": 0.58684
}Semantic roles & 50–950 ramp
primary
#DFCA5B
secondary
#3B4BA3
accent
#34CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F