#DFC148#DFC148
#DFC148 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.141 H 95.0°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC148 |
|---|---|
| RGB | rgb(223, 193, 72) |
| HSL | hsl(48, 70%, 58%) |
| HSV | hsv(48, 68%, 87%) |
| CMYK | cmyk(0%, 13.5%, 67.7%, 12.5%) |
| CIE-LAB | lab(78.64, -2.48, 62.36) |
| CIE-LCH | lch(78.64, 62.41, 92.28°) |
| OKLab | oklab(81.5% -0.0123 0.1402) |
| OKLCH | oklch(81.5% 0.141 95) |
| XYZ | xyz(50.6736, 54.2985, 13.9412) |
| Luminance | 0.5430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.02
Maize
#F4D054
ΔE00 4.16
Dark Yellow
#D5B60A
ΔE00 4.32
Mustard Yellow
#D2BD0A
ΔE00 4.73
Gold (survey)
#DBB40C
ΔE00 4.75
Light Mustard
#F7D560
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC148 #4866DF
analogous
#DF7548 #DFC148 #B2DF48
triadic
#DFC148 #48DFC1 #C148DF
tetradic
#DFC148 #48DF75 #4866DF #DF48B2
square
#DFC148 #48DF75 #4866DF #DF48B2
split-complementary
#DFC148 #48B2DF #7548DF
monochromatic
#937B1A #C7A623 #DFC148 #E8D37C #F1E4B0
Accessibility & contrast
On white
1.77
#DFC148 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#DFC148 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC148
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC148 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC148 | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#F0B3A8
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dfc148; /* rgb */ color: rgb(223, 193, 72); /* oklch */ color: oklch(81.5% 0.141 95.0);
Tailwind
colors: {
custom: {
50: '#edd381',
500: '#dfc148',
950: '#000000',
},
}SCSS
$custom: #dfc148; $custom-light: #edd381; $custom-dark: #000000;
JSON
{
"hex": "#dfc148",
"rgb": {
"r": 223,
"g": 193,
"b": 72
},
"hsl": {
"h": 48.079,
"s": 70.233,
"l": 57.843
},
"oklch": {
"l": 0.81504,
"c": 0.14069,
"h": 95
},
"luminance": 0.54296
}Semantic roles & 50–950 ramp
primary
#DFC148
secondary
#344798
accent
#5EED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E