#DFC15F#DFC15F
#DFC15F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.122 H 92.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC15F |
|---|---|
| RGB | rgb(223, 193, 95) |
| HSL | hsl(46, 67%, 62%) |
| HSV | hsv(46, 57%, 87%) |
| CMYK | cmyk(0%, 13.5%, 57.4%, 12.5%) |
| CIE-LAB | lab(78.84, -1.00, 52.44) |
| CIE-LCH | lch(78.84, 52.45, 91.09°) |
| OKLab | oklab(81.74% -0.0054 0.1222) |
| OKLCH | oklch(81.74% 0.122 92.5) |
| XYZ | xyz(51.5691, 54.6567, 18.6577) |
| Luminance | 0.5465 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.32
Maize
#F4D054
ΔE00 5.01
Light Mustard
#F7D560
ΔE00 5.44
Mustard
#DBB42C
ΔE00 5.47
Sandy
#F1DA7A
ΔE00 6.05
Desert
#CCAD60
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC15F #5F7DDF
analogous
#DF815F #DFC15F #BDDF5F
triadic
#DFC15F #5FDFC1 #C15FDF
tetradic
#DFC15F #5FDF81 #5F7DDF #DF5FBD
square
#DFC15F #5FDF81 #5F7DDF #DF5FBD
split-complementary
#DFC15F #5FBDDF #815FDF
monochromatic
#A38421 #D5AD2C #DFC15F #E9D592 #F3E9C5
Accessibility & contrast
On white
1.76
#DFC15F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#DFC15F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC15F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC15F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC15F | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#DAC763
Tritanopia (blue-blind)
#EFB4AB
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dfc15f; /* rgb */ color: rgb(223, 193, 95); /* oklch */ color: oklch(81.7% 0.122 92.5);
Tailwind
colors: {
custom: {
50: '#ecd38f',
500: '#dfc15f',
950: '#000000',
},
}SCSS
$custom: #dfc15f; $custom-light: #ecd38f; $custom-dark: #000000;
JSON
{
"hex": "#dfc15f",
"rgb": {
"r": 223,
"g": 193,
"b": 95
},
"hsl": {
"h": 45.938,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.81735,
"c": 0.12233,
"h": 92.5
},
"luminance": 0.54654
}Semantic roles & 50–950 ramp
primary
#DFC15F
secondary
#3C55A6
accent
#42CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F