#DFD27F#DFD27F
#DFD27F is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.105 H 100.5°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #DFD27F |
|---|---|
| RGB | rgb(223, 210, 127) |
| HSL | hsl(52, 60%, 69%) |
| HSV | hsv(52, 43%, 87%) |
| CMYK | cmyk(0%, 5.8%, 43%, 12.5%) |
| CIE-LAB | lab(83.61, -6.93, 42.65) |
| CIE-LCH | lch(83.61, 43.21, 99.23°) |
| OKLab | oklab(85.63% -0.0192 0.1033) |
| OKLCH | oklch(85.63% 0.105 100.5) |
| XYZ | xyz(57.3101, 63.3152, 29.2767) |
| Luminance | 0.6331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.52
Sandy
#F1DA7A
ΔE00 3.96
Khaki (CSS)
#F0E68C
ΔE00 4.56
Wheat (survey)
#FBDD7E
ΔE00 5.84
Greenish Beige
#C9D179
ΔE00 5.84
Beige (survey)
#E6DAA6
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFD27F #7F8CDF
analogous
#DFA27F #DFD27F #BCDF7F
triadic
#DFD27F #7FDFD2 #D27FDF
tetradic
#DFD27F #7FDFA2 #7F8CDF #DF7FBC
square
#DFD27F #7FDFA2 #7F8CDF #DF7FBC
split-complementary
#DFD27F #7FBCDF #A27FDF
monochromatic
#B6A42E #D3C14E #DFD27F #EBE3B0 #F7F4E1
Accessibility & contrast
On white
1.54
#DFD27F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.66
#DFD27F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFD27F
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFD27F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFD27F | 1.00 | 1.54 | 13.66 | 13.66 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0CD78
Deuteranopia (green-blind)
#E4D382
Tritanopia (blue-blind)
#ECC7BE
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dfd27f; /* rgb */ color: rgb(223, 210, 127); /* oklch */ color: oklch(85.6% 0.105 100.5);
Tailwind
colors: {
custom: {
50: '#eadfa5',
500: '#dfd27f',
950: '#000000',
},
}SCSS
$custom: #dfd27f; $custom-light: #eadfa5; $custom-dark: #000000;
JSON
{
"hex": "#dfd27f",
"rgb": {
"r": 223,
"g": 210,
"b": 127
},
"hsl": {
"h": 51.875,
"s": 60,
"l": 68.627
},
"oklch": {
"l": 0.85629,
"c": 0.10507,
"h": 100.5
},
"luminance": 0.63313
}Semantic roles & 50–950 ramp
primary
#DFD27F
secondary
#4C5BB6
accent
#35C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480