#DFC251#DFC251
#DFC251 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.8% C 0.135 H 94.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC251 |
|---|---|
| RGB | rgb(223, 194, 81) |
| HSL | hsl(48, 69%, 60%) |
| HSV | hsv(48, 64%, 87%) |
| CMYK | cmyk(0%, 13%, 63.7%, 12.5%) |
| CIE-LAB | lab(78.97, -2.47, 58.91) |
| CIE-LCH | lch(78.97, 58.96, 92.40°) |
| OKLab | oklab(81.79% -0.0113 0.1343) |
| OKLCH | oklch(81.79% 0.135 94.8) |
| XYZ | xyz(51.2108, 54.8682, 15.6762) |
| Luminance | 0.5487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 4.17
Mustard
#DBB42C
ΔE00 4.64
Sand (survey)
#E2CA76
ΔE00 4.65
Light Mustard
#F7D560
ΔE00 4.91
Dark Yellow
#D5B60A
ΔE00 5.18
Mustard Yellow
#D2BD0A
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC251 #516EDF
analogous
#DF7B51 #DFC251 #B5DF51
triadic
#DFC251 #51DFC2 #C251DF
tetradic
#DFC251 #51DF7B #516EDF #DF51B5
square
#DFC251 #51DF7B #516EDF #DF51B5
split-complementary
#DFC251 #51B5DF #7B51DF
monochromatic
#99801C #CDAB26 #DFC251 #E9D485 #F2E6B8
Accessibility & contrast
On white
1.75
#DFC251 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.97
#DFC251 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC251
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC251 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC251 | 1.00 | 1.75 | 11.97 | 11.97 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BE44
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#F0B4AA
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dfc251; /* rgb */ color: rgb(223, 194, 81); /* oklch */ color: oklch(81.8% 0.135 94.8);
Tailwind
colors: {
custom: {
50: '#ecd487',
500: '#dfc251',
950: '#000000',
},
}SCSS
$custom: #dfc251; $custom-light: #ecd487; $custom-dark: #000000;
JSON
{
"hex": "#dfc251",
"rgb": {
"r": 223,
"g": 194,
"b": 81
},
"hsl": {
"h": 47.746,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.81788,
"c": 0.13472,
"h": 94.8
},
"luminance": 0.54866
}Semantic roles & 50–950 ramp
primary
#DFC251
secondary
#374C9D
accent
#60EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140B
muted
#85837E