#DFD47F#DFD47F

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

Color values

HEX#DFD47F
RGBrgb(223, 212, 127)
HSLhsl(53, 60%, 69%)
HSVhsv(53, 43%, 87%)
CMYKcmyk(0%, 4.9%, 43%, 12.5%)
CIE-LABlab(84.13, -7.95, 43.30)
CIE-LCHlch(84.13, 44.03, 100.41°)
OKLaboklab(86.04% -0.0221 0.1048)
OKLCHoklch(86.04% 0.107 101.9)
XYZxyz(57.8069, 64.3090, 29.4423)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD47F #7F8ADF
analogous
#DFA47F #DFD47F #BADF7F
triadic
#DFD47F #7FDFD4 #D47FDF
tetradic
#DFD47F #7FDFA4 #7F8ADF #DF7FBA
square
#DFD47F #7FDFA4 #7F8ADF #DF7FBA
split-complementary
#DFD47F #7FBADF #A47FDF
monochromatic
#B6A62E #D3C44E #DFD47F #EBE4B0 #F7F5E1

Accessibility & contrast

On white

1.51
#DFD47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD47F#FFFFFF#000000##000000
##DFD47F1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd47f;
/* rgb */ color: rgb(223, 212, 127);
/* oklch */ color: oklch(86.0% 0.107 101.9);
Tailwind
colors: {
  custom: {
    50: '#eae1a5',
    500: '#dfd47f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd47f;
$custom-light: #eae1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd47f",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 127
  },
  "hsl": {
    "h": 53.125,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.8604,
    "c": 0.10709,
    "h": 101.9
  },
  "luminance": 0.64307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD47F

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

Preview Lab → · Contrast checker → · Palette generator →

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