#DFD47E#DFD47E

#DFD47E is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.0% C 0.108 H 102.0°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#DFD47E
RGBrgb(223, 212, 126)
HSLhsl(53, 60%, 68%)
HSVhsv(53, 43%, 87%)
CMYKcmyk(0%, 4.9%, 43.5%, 12.5%)
CIE-LABlab(84.11, -8.05, 43.78)
CIE-LCHlch(84.11, 44.51, 100.42°)
OKLaboklab(86.03% -0.0225 0.1058)
OKLCHoklch(86.03% 0.108 102)
XYZxyz(57.7421, 64.2830, 29.1008)
Luminance0.6428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD47E #7E89DF
analogous
#DFA37E #DFD47E #B9DF7E
triadic
#DFD47E #7EDFD4 #D47EDF
tetradic
#DFD47E #7EDFA3 #7E89DF #DF7EB9
square
#DFD47E #7EDFA3 #7E89DF #DF7EB9
split-complementary
#DFD47E #7EB9DF #A37EDF
monochromatic
#B6A62D #D3C44D #DFD47E #EBE4AF #F7F5E0

Accessibility & contrast

On white

1.52
#DFD47E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#DFD47E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD47E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD47E#FFFFFF#000000##000000
##DFD47E1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF77
Deuteranopia (green-blind)
#E6D482
Tritanopia (blue-blind)
#ECC9BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd47e;
/* rgb */ color: rgb(223, 212, 126);
/* oklch */ color: oklch(86.0% 0.108 102.0);
Tailwind
colors: {
  custom: {
    50: '#eae1a5',
    500: '#dfd47e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd47e;
$custom-light: #eae1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd47e",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 126
  },
  "hsl": {
    "h": 53.196,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86025,
    "c": 0.10815,
    "h": 102
  },
  "luminance": 0.64281
}

Semantic roles & 50–950 ramp

primary
#DFD47E
secondary
#4B57B6
accent
#31C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD47E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DFD47E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva