#DFC157#DFC157
#DFC157 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.129 H 93.5°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC157 |
|---|---|
| RGB | rgb(223, 193, 87) |
| HSL | hsl(47, 68%, 61%) |
| HSV | hsv(47, 61%, 87%) |
| CMYK | cmyk(0%, 13.5%, 61%, 12.5%) |
| CIE-LAB | lab(78.76, -1.57, 56.03) |
| CIE-LCH | lch(78.76, 56.05, 91.60°) |
| OKLab | oklab(81.65% -0.008 0.129) |
| OKLCH | oklch(81.65% 0.129 93.5) |
| XYZ | xyz(51.2240, 54.5186, 16.8400) |
| Luminance | 0.5452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.09
Maize
#F4D054
ΔE00 4.50
Mustard
#DBB42C
ΔE00 4.78
Light Mustard
#F7D560
ΔE00 5.13
Dark Yellow
#D5B60A
ΔE00 5.78
Gold (survey)
#DBB40C
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC157 #5775DF
analogous
#DF7D57 #DFC157 #B9DF57
triadic
#DFC157 #57DFC1 #C157DF
tetradic
#DFC157 #57DF7D #5775DF #DF57B9
square
#DFC157 #57DF7D #5775DF #DF57B9
split-complementary
#DFC157 #57B9DF #7D57DF
monochromatic
#9E811E #D1AC28 #DFC157 #E9D48A #F3E7BE
Accessibility & contrast
On white
1.76
#DFC157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.90
#DFC157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC157
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC157 | 1.00 | 1.76 | 11.90 | 11.90 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE4C
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#F0B3AA
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dfc157; /* rgb */ color: rgb(223, 193, 87); /* oklch */ color: oklch(81.6% 0.129 93.5);
Tailwind
colors: {
custom: {
50: '#ecd38a',
500: '#dfc157',
950: '#000000',
},
}SCSS
$custom: #dfc157; $custom-light: #ecd38a; $custom-dark: #000000;
JSON
{
"hex": "#dfc157",
"rgb": {
"r": 223,
"g": 193,
"b": 87
},
"hsl": {
"h": 46.765,
"s": 68,
"l": 60.784
},
"oklch": {
"l": 0.81646,
"c": 0.1292,
"h": 93.5
},
"luminance": 0.54516
}Semantic roles & 50–950 ramp
primary
#DFC157
secondary
#3950A1
accent
#3FD016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F