#DFD387#DFD387

#DFD387 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.097 H 100.4°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#DFD387
RGBrgb(223, 211, 135)
HSLhsl(52, 58%, 70%)
HSVhsv(52, 39%, 87%)
CMYKcmyk(0%, 5.4%, 39.5%, 12.5%)
CIE-LABlab(83.98, -6.61, 39.11)
CIE-LCHlch(83.98, 39.66, 99.59°)
OKLaboklab(85.96% -0.0176 0.0957)
OKLCHoklch(85.96% 0.097 100.4)
XYZxyz(58.1000, 64.0274, 32.2150)
Luminance0.6403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD387 #8793DF
analogous
#DFA787 #DFD387 #BFDF87
triadic
#DFD387 #87DFD3 #D387DF
tetradic
#DFD387 #87DFA7 #8793DF #DF87BF
square
#DFD387 #87DFA7 #8793DF #DF87BF
split-complementary
#DFD387 #87BFDF #A787DF
monochromatic
#BAA732 #D2C157 #DFD387 #ECE5B7 #F9F6E7

Accessibility & contrast

On white

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

On black

13.81
#DFD387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD387
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD387#FFFFFF#000000##000000
##DFD3871.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF81
Deuteranopia (green-blind)
#E4D48A
Tritanopia (blue-blind)
#EBC9C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd387;
/* rgb */ color: rgb(223, 211, 135);
/* oklch */ color: oklch(86.0% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#eae0ab',
    500: '#dfd387',
    950: '#000000',
  },
}
SCSS
$custom: #dfd387;
$custom-light: #eae0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd387",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 51.818,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85961,
    "c": 0.09728,
    "h": 100.4
  },
  "luminance": 0.64026
}

Semantic roles & 50–950 ramp

primary
#DFD387
secondary
#5461B7
accent
#37C520
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #DFD387

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

Preview Lab → · Contrast checker → · Palette generator →

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