#DFD47C#DFD47C

#DFD47C is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.0% C 0.110 H 102.2°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DFD47C
RGBrgb(223, 212, 124)
HSLhsl(53, 61%, 68%)
HSVhsv(53, 44%, 87%)
CMYKcmyk(0%, 4.9%, 44.4%, 12.5%)
CIE-LABlab(84.09, -8.25, 44.73)
CIE-LCHlch(84.09, 45.49, 100.45°)
OKLaboklab(86% -0.0232 0.1078)
OKLCHoklch(86% 0.11 102.2)
XYZxyz(57.6143, 64.2319, 28.4279)
Luminance0.6423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD47C #7C87DF
analogous
#DFA27C #DFD47C #B9DF7C
triadic
#DFD47C #7CDFD4 #D47CDF
tetradic
#DFD47C #7CDFA2 #7C87DF #DF7CB9
square
#DFD47C #7CDFA2 #7C87DF #DF7CB9
split-complementary
#DFD47C #7CB9DF #A27CDF
monochromatic
#B5A52C #D3C44B #DFD47C #EBE4AD #F7F4DE

Accessibility & contrast

On white

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

On black

13.85
#DFD47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD47C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD47C#FFFFFF#000000##000000
##DFD47C1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd47c;
/* rgb */ color: rgb(223, 212, 124);
/* oklch */ color: oklch(86.0% 0.110 102.2);
Tailwind
colors: {
  custom: {
    50: '#ebe1a3',
    500: '#dfd47c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd47c;
$custom-light: #ebe1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd47c",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 124
  },
  "hsl": {
    "h": 53.333,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85995,
    "c": 0.11028,
    "h": 102.2
  },
  "luminance": 0.6423
}

Semantic roles & 50–950 ramp

primary
#DFD47C
secondary
#4955B6
accent
#30C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD47C

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

Preview Lab → · Contrast checker → · Palette generator →

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