#DFD291#DFD291

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

Color values

HEX#DFD291
RGBrgb(223, 210, 145)
HSLhsl(50, 55%, 72%)
HSVhsv(50, 35%, 87%)
CMYKcmyk(0%, 5.8%, 35%, 12.5%)
CIE-LABlab(83.88, -4.97, 33.88)
CIE-LCHlch(83.88, 34.24, 98.34°)
OKLaboklab(85.93% -0.0121 0.084)
OKLCHoklch(85.93% 0.085 98.2)
XYZxyz(58.5897, 63.8271, 36.0161)
Luminance0.6382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD291 #919EDF
analogous
#DFAB91 #DFD291 #C5DF91
triadic
#DFD291 #91DFD2 #D291DF
tetradic
#DFD291 #91DFAB #919EDF #DF91C5
square
#DFD291 #91DFAB #919EDF #DF91C5
split-complementary
#DFD291 #91C5DF #AB91DF
monochromatic
#BEA837 #D1BF62 #DFD291 #EDE5C0 #F8F5E7

Accessibility & contrast

On white

1.53
#DFD291 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD291#FFFFFF#000000##000000
##DFD2911.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE8C
Deuteranopia (green-blind)
#E2D393
Tritanopia (blue-blind)
#EAC9C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd291;
/* rgb */ color: rgb(223, 210, 145);
/* oklch */ color: oklch(85.9% 0.085 98.2);
Tailwind
colors: {
  custom: {
    50: '#eadfb2',
    500: '#dfd291',
    950: '#000000',
  },
}
SCSS
$custom: #dfd291;
$custom-light: #eadfb2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd291",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 145
  },
  "hsl": {
    "h": 50,
    "s": 54.93,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85928,
    "c": 0.08485,
    "h": 98.2
  },
  "luminance": 0.63825
}

Semantic roles & 50–950 ramp

primary
#DFD291
secondary
#5D6CB7
accent
#3EC223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161511
muted
#848481

Preview Lab

Preview with #DFD291

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

Preview Lab → · Contrast checker → · Palette generator →

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