#DFC25F#DFC25F
#DFC25F is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.123 H 93.2°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC25F |
|---|---|
| RGB | rgb(223, 194, 95) |
| HSL | hsl(46, 67%, 62%) |
| HSV | hsv(46, 57%, 87%) |
| CMYK | cmyk(0%, 13%, 57.4%, 12.5%) |
| CIE-LAB | lab(79.10, -1.52, 52.73) |
| CIE-LCH | lch(79.10, 52.75, 91.65°) |
| OKLab | oklab(81.94% -0.0069 0.1229) |
| OKLCH | oklch(81.94% 0.123 93.2) |
| XYZ | xyz(51.7909, 55.1003, 18.7317) |
| Luminance | 0.5510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.18
Maize
#F4D054
ΔE00 4.86
Light Mustard
#F7D560
ΔE00 5.25
Mustard
#DBB42C
ΔE00 5.61
Sandy
#F1DA7A
ΔE00 5.78
Desert
#CCAD60
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC25F #5F7CDF
analogous
#DF825F #DFC25F #BCDF5F
triadic
#DFC25F #5FDFC2 #C25FDF
tetradic
#DFC25F #5FDF82 #5F7CDF #DF5FBC
square
#DFC25F #5FDF82 #5F7CDF #DF5FBC
split-complementary
#DFC25F #5FBCDF #825FDF
monochromatic
#A38521 #D5AF2C #DFC25F #E9D592 #F3E9C5
Accessibility & contrast
On white
1.75
#DFC25F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.02
#DFC25F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC25F
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC25F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC25F | 1.00 | 1.75 | 12.02 | 12.02 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#DBC863
Tritanopia (blue-blind)
#EFB5AC
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #dfc25f; /* rgb */ color: rgb(223, 194, 95); /* oklch */ color: oklch(81.9% 0.123 93.2);
Tailwind
colors: {
custom: {
50: '#ecd48f',
500: '#dfc25f',
950: '#000000',
},
}SCSS
$custom: #dfc25f; $custom-light: #ecd48f; $custom-dark: #000000;
JSON
{
"hex": "#dfc25f",
"rgb": {
"r": 223,
"g": 194,
"b": 95
},
"hsl": {
"h": 46.406,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.81937,
"c": 0.12304,
"h": 93.2
},
"luminance": 0.55098
}Semantic roles & 50–950 ramp
primary
#DFC25F
secondary
#3C54A6
accent
#41CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F