#DFC45B#DFC45B
#DFC45B is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.3% C 0.128 H 95.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC45B |
|---|---|
| RGB | rgb(223, 196, 91) |
| HSL | hsl(48, 67%, 62%) |
| HSV | hsv(48, 59%, 87%) |
| CMYK | cmyk(0%, 12.1%, 59.2%, 12.5%) |
| CIE-LAB | lab(79.57, -2.84, 55.12) |
| CIE-LCH | lch(79.57, 55.19, 92.95°) |
| OKLab | oklab(82.3% -0.0112 0.1275) |
| OKLCH | oklch(82.3% 0.128 95) |
| XYZ | xyz(52.0619, 55.9256, 17.9480) |
| Luminance | 0.5592 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.50
Maize
#F4D054
ΔE00 4.39
Light Mustard
#F7D560
ΔE00 4.80
Sandy
#F1DA7A
ΔE00 5.41
Mustard
#DBB42C
ΔE00 5.68
Dark Yellow
#D5B60A
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC45B #5B76DF
analogous
#DF825B #DFC45B #B8DF5B
triadic
#DFC45B #5BDFC4 #C45BDF
tetradic
#DFC45B #5BDF82 #5B76DF #DF5BB8
square
#DFC45B #5BDF82 #5B76DF #DF5BB8
split-complementary
#DFC45B #5BB8DF #825BDF
monochromatic
#A0861F #D4B129 #DFC45B #E9D68E #F3E9C1
Accessibility & contrast
On white
1.72
#DFC45B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.18
#DFC45B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC45B
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC45B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC45B | 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)
#D6C050
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#EFB7AD
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #dfc45b; /* rgb */ color: rgb(223, 196, 91); /* oklch */ color: oklch(82.3% 0.128 95.0);
Tailwind
colors: {
custom: {
50: '#ecd58d',
500: '#dfc45b',
950: '#000000',
},
}SCSS
$custom: #dfc45b; $custom-light: #ecd58d; $custom-dark: #000000;
JSON
{
"hex": "#dfc45b",
"rgb": {
"r": 223,
"g": 196,
"b": 91
},
"hsl": {
"h": 47.727,
"s": 67.347,
"l": 61.569
},
"oklch": {
"l": 0.82297,
"c": 0.128,
"h": 95
},
"luminance": 0.55923
}Semantic roles & 50–950 ramp
primary
#DFC45B
secondary
#3B50A3
accent
#3CCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F