#DFD88E#DFD88E

#DFD88E is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.095 H 103.5°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#DFD88E
RGBrgb(223, 216, 142)
HSLhsl(55, 56%, 72%)
HSVhsv(55, 36%, 87%)
CMYKcmyk(0%, 3.1%, 36.3%, 12.5%)
CIE-LABlab(85.38, -8.37, 37.38)
CIE-LCHlch(85.38, 38.30, 102.62°)
OKLaboklab(87.1% -0.0221 0.092)
OKLCHoklch(87.1% 0.095 103.5)
XYZxyz(59.8706, 66.7541, 35.3169)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD88E #8E95DF
analogous
#DFB08E #DFD88E #BEDF8E
triadic
#DFD88E #8EDFD8 #D88EDF
tetradic
#DFD88E #8EDFB0 #8E95DF #DF8EBE
square
#DFD88E #8EDFB0 #8E95DF #DF8EBE
split-complementary
#DFD88E #8EBEDF #B08EDF
monochromatic
#BDB136 #D1C85E #DFD88E #EDE8BE #F8F7E7

Accessibility & contrast

On white

1.46
#DFD88E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#DFD88E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD88E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD88E#FFFFFF#000000##000000
##DFD88E1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D389
Deuteranopia (green-blind)
#E7D791
Tritanopia (blue-blind)
#EACFC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd88e;
/* rgb */ color: rgb(223, 216, 142);
/* oklch */ color: oklch(87.1% 0.095 103.5);
Tailwind
colors: {
  custom: {
    50: '#eae3b0',
    500: '#dfd88e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd88e;
$custom-light: #eae3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd88e",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 142
  },
  "hsl": {
    "h": 54.815,
    "s": 55.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87104,
    "c": 0.09462,
    "h": 103.5
  },
  "luminance": 0.66753
}

Semantic roles & 50–950 ramp

primary
#DFD88E
secondary
#5A62B7
accent
#30C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD88E

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

Preview Lab → · Contrast checker → · Palette generator →

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