#DFC256#DFC256
#DFC256 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.8% C 0.131 H 94.3°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC256 |
|---|---|
| RGB | rgb(223, 194, 86) |
| HSL | hsl(47, 68%, 61%) |
| HSV | hsv(47, 61%, 87%) |
| CMYK | cmyk(0%, 13%, 61.4%, 12.5%) |
| CIE-LAB | lab(79.01, -2.15, 56.75) |
| CIE-LCH | lch(79.01, 56.79, 92.17°) |
| OKLab | oklab(81.84% -0.0098 0.1304) |
| OKLCH | oklch(81.84% 0.131 94.3) |
| XYZ | xyz(51.4052, 54.9460, 16.7003) |
| Luminance | 0.5494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.12
Maize
#F4D054
ΔE00 4.33
Mustard
#DBB42C
ΔE00 4.92
Light Mustard
#F7D560
ΔE00 4.95
Dark Yellow
#D5B60A
ΔE00 5.68
Gold (survey)
#DBB40C
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC256 #5673DF
analogous
#DF7D56 #DFC256 #B8DF56
triadic
#DFC256 #56DFC2 #C256DF
tetradic
#DFC256 #56DF7D #5673DF #DF56B8
square
#DFC256 #56DF7D #5673DF #DF56B8
split-complementary
#DFC256 #56B8DF #7D56DF
monochromatic
#9D821E #D0AD27 #DFC256 #E9D589 #F2E7BD
Accessibility & contrast
On white
1.75
#DFC256 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#DFC256 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC256
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC256 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC256 | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#DCC75B
Tritanopia (blue-blind)
#F0B4AB
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #dfc256; /* rgb */ color: rgb(223, 194, 86); /* oklch */ color: oklch(81.8% 0.131 94.3);
Tailwind
colors: {
custom: {
50: '#ecd48a',
500: '#dfc256',
950: '#000000',
},
}SCSS
$custom: #dfc256; $custom-light: #ecd48a; $custom-dark: #000000;
JSON
{
"hex": "#dfc256",
"rgb": {
"r": 223,
"g": 194,
"b": 86
},
"hsl": {
"h": 47.299,
"s": 68.159,
"l": 60.588
},
"oklch": {
"l": 0.81838,
"c": 0.13073,
"h": 94.3
},
"luminance": 0.54943
}Semantic roles & 50–950 ramp
primary
#DFC256
secondary
#394FA0
accent
#3DD015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F