#DFC45A#DFC45A
#DFC45A is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.3% C 0.129 H 95.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC45A |
|---|---|
| RGB | rgb(223, 196, 90) |
| HSL | hsl(48, 68%, 61%) |
| HSV | hsv(48, 60%, 87%) |
| CMYK | cmyk(0%, 12.1%, 59.6%, 12.5%) |
| CIE-LAB | lab(79.56, -2.92, 55.56) |
| CIE-LCH | lch(79.56, 55.64, 93.00°) |
| OKLab | oklab(82.29% -0.0115 0.1283) |
| OKLCH | oklch(82.29% 0.129 95.1) |
| XYZ | xyz(52.0190, 55.9085, 17.7223) |
| Luminance | 0.5591 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.62
Maize
#F4D054
ΔE00 4.34
Light Mustard
#F7D560
ΔE00 4.77
Sandy
#F1DA7A
ΔE00 5.45
Mustard
#DBB42C
ΔE00 5.62
Dark Yellow
#D5B60A
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC45A #5A75DF
analogous
#DF825A #DFC45A #B7DF5A
triadic
#DFC45A #5ADFC4 #C45ADF
tetradic
#DFC45A #5ADF82 #5A75DF #DF5AB7
square
#DFC45A #5ADF82 #5A75DF #DF5AB7
split-complementary
#DFC45A #5AB7DF #825ADF
monochromatic
#A0861F #D3B029 #DFC45A #E9D68D #F3E9C1
Accessibility & contrast
On white
1.72
#DFC45A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.18
#DFC45A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC45A
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC45A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC45A | 1.00 | 1.72 | 12.18 | 12.18 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C04F
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#EFB7AD
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #dfc45a; /* rgb */ color: rgb(223, 196, 90); /* oklch */ color: oklch(82.3% 0.129 95.1);
Tailwind
colors: {
custom: {
50: '#ecd58c',
500: '#dfc45a',
950: '#000000',
},
}SCSS
$custom: #dfc45a; $custom-light: #ecd58c; $custom-dark: #000000;
JSON
{
"hex": "#dfc45a",
"rgb": {
"r": 223,
"g": 196,
"b": 90
},
"hsl": {
"h": 47.82,
"s": 67.513,
"l": 61.373
},
"oklch": {
"l": 0.82286,
"c": 0.12885,
"h": 95.1
},
"luminance": 0.55906
}Semantic roles & 50–950 ramp
primary
#DFC45A
secondary
#3A50A3
accent
#3CCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F