#DFC05F#DFC05F
#DFC05F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.122 H 91.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC05F |
|---|---|
| RGB | rgb(223, 192, 95) |
| HSL | hsl(45, 67%, 62%) |
| HSV | hsv(45, 57%, 87%) |
| CMYK | cmyk(0%, 13.9%, 57.4%, 12.5%) |
| CIE-LAB | lab(78.59, -0.48, 52.14) |
| CIE-LCH | lch(78.59, 52.14, 90.53°) |
| OKLab | oklab(81.53% -0.0039 0.1216) |
| OKLCH | oklch(81.53% 0.122 91.8) |
| XYZ | xyz(51.3488, 54.2160, 18.5843) |
| Luminance | 0.5421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.50
Maize
#F4D054
ΔE00 5.20
Mustard
#DBB42C
ΔE00 5.35
Light Mustard
#F7D560
ΔE00 5.66
Desert
#CCAD60
ΔE00 5.80
Tan (survey)
#D1B26F
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC05F #5F7EDF
analogous
#DF805F #DFC05F #BEDF5F
triadic
#DFC05F #5FDFC0 #C05FDF
tetradic
#DFC05F #5FDF80 #5F7EDF #DF5FBE
square
#DFC05F #5FDF80 #5F7EDF #DF5FBE
split-complementary
#DFC05F #5FBEDF #805FDF
monochromatic
#A38321 #D5AC2C #DFC05F #E9D492 #F3E8C5
Accessibility & contrast
On white
1.77
#DFC05F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#DFC05F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC05F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC05F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC05F | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BD56
Deuteranopia (green-blind)
#DAC663
Tritanopia (blue-blind)
#EFB3AA
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #dfc05f; /* rgb */ color: rgb(223, 192, 95); /* oklch */ color: oklch(81.5% 0.122 91.8);
Tailwind
colors: {
custom: {
50: '#ecd28f',
500: '#dfc05f',
950: '#000000',
},
}SCSS
$custom: #dfc05f; $custom-light: #ecd28f; $custom-dark: #000000;
JSON
{
"hex": "#dfc05f",
"rgb": {
"r": 223,
"g": 192,
"b": 95
},
"hsl": {
"h": 45.469,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.81533,
"c": 0.12164,
"h": 91.8
},
"luminance": 0.54213
}Semantic roles & 50–950 ramp
primary
#DFC05F
secondary
#3C56A6
accent
#43CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F