#DFD381#DFD381

#DFD381 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.9% C 0.104 H 101.0°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DFD381
RGBrgb(223, 211, 129)
HSLhsl(52, 59%, 69%)
HSVhsv(52, 42%, 87%)
CMYKcmyk(0%, 5.4%, 42.2%, 12.5%)
CIE-LABlab(83.89, -7.24, 42.01)
CIE-LCHlch(83.89, 42.63, 99.78°)
OKLaboklab(85.87% -0.0199 0.102)
OKLCHoklch(85.87% 0.104 101)
XYZxyz(57.6894, 63.8632, 30.0526)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD381 #818DDF
analogous
#DFA481 #DFD381 #BCDF81
triadic
#DFD381 #81DFD3 #D381DF
tetradic
#DFD381 #81DFA4 #818DDF #DF81BC
square
#DFD381 #81DFA4 #818DDF #DF81BC
split-complementary
#DFD381 #81BCDF #A481DF
monochromatic
#B7A62F #D3C250 #DFD381 #EBE4B2 #F8F5E3

Accessibility & contrast

On white

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

On black

13.77
#DFD381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD381
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD381#FFFFFF#000000##000000
##DFD3811.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE7B
Deuteranopia (green-blind)
#E5D484
Tritanopia (blue-blind)
#ECC9BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd381;
/* rgb */ color: rgb(223, 211, 129);
/* oklch */ color: oklch(85.9% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#eae0a7',
    500: '#dfd381',
    950: '#000000',
  },
}
SCSS
$custom: #dfd381;
$custom-light: #eae0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd381",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 52.34,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85865,
    "c": 0.10391,
    "h": 101
  },
  "luminance": 0.63861
}

Semantic roles & 50–950 ramp

primary
#DFD381
secondary
#4E5BB6
accent
#34C71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD381

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

Preview Lab → · Contrast checker → · Palette generator →

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