#DFC152#DFC152
#DFC152 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.133 H 94.1°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC152 |
|---|---|
| RGB | rgb(223, 193, 82) |
| HSL | hsl(47, 69%, 60%) |
| HSV | hsv(47, 63%, 87%) |
| CMYK | cmyk(0%, 13.5%, 63.2%, 12.5%) |
| CIE-LAB | lab(78.72, -1.89, 58.20) |
| CIE-LCH | lch(78.72, 58.24, 91.86°) |
| OKLab | oklab(81.6% -0.0095 0.1329) |
| OKLCH | oklch(81.6% 0.133 94.1) |
| XYZ | xyz(51.0267, 54.4397, 15.8012) |
| Luminance | 0.5444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 4.30
Mustard
#DBB42C
ΔE00 4.45
Sand (survey)
#E2CA76
ΔE00 4.59
Light Mustard
#F7D560
ΔE00 5.06
Dark Yellow
#D5B60A
ΔE00 5.25
Gold (survey)
#DBB40C
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC152 #5270DF
analogous
#DF7B52 #DFC152 #B7DF52
triadic
#DFC152 #52DFC1 #C152DF
tetradic
#DFC152 #52DF7B #5270DF #DF52B7
square
#DFC152 #52DF7B #5270DF #DF52B7
split-complementary
#DFC152 #52B7DF #7B52DF
monochromatic
#9A7F1D #CEAA26 #DFC152 #E9D486 #F2E6B9
Accessibility & contrast
On white
1.77
#DFC152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#DFC152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC152
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC152 | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#F0B3A9
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dfc152; /* rgb */ color: rgb(223, 193, 82); /* oklch */ color: oklch(81.6% 0.133 94.1);
Tailwind
colors: {
custom: {
50: '#ecd387',
500: '#dfc152',
950: '#000000',
},
}SCSS
$custom: #dfc152; $custom-light: #ecd387; $custom-dark: #000000;
JSON
{
"hex": "#dfc152",
"rgb": {
"r": 223,
"g": 193,
"b": 82
},
"hsl": {
"h": 47.234,
"s": 68.78,
"l": 59.804
},
"oklch": {
"l": 0.81595,
"c": 0.13323,
"h": 94.1
},
"luminance": 0.54437
}Semantic roles & 50–950 ramp
primary
#DFC152
secondary
#374D9E
accent
#62EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F