#DFD88C#DFD88C

#DFD88C is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.097 H 103.7°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#DFD88C
RGBrgb(223, 216, 140)
HSLhsl(55, 56%, 71%)
HSVhsv(55, 37%, 87%)
CMYKcmyk(0%, 3.1%, 37.2%, 12.5%)
CIE-LABlab(85.35, -8.60, 38.35)
CIE-LCHlch(85.35, 39.30, 102.64°)
OKLaboklab(87.07% -0.0229 0.0942)
OKLCHoklch(87.07% 0.097 103.7)
XYZxyz(59.7218, 66.6946, 34.5332)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD88C #8C93DF
analogous
#DFAE8C #DFD88C #BCDF8C
triadic
#DFD88C #8CDFD8 #D88CDF
tetradic
#DFD88C #8CDFAE #8C93DF #DF8CBC
square
#DFD88C #8CDFAE #8C93DF #DF8CBC
split-complementary
#DFD88C #8CBCDF #AE8CDF
monochromatic
#BCB134 #D2C85C #DFD88C #ECE8BC #F8F7E7

Accessibility & contrast

On white

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

On black

14.34
#DFD88C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD88C
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD88C#FFFFFF#000000##000000
##DFD88C1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D386
Deuteranopia (green-blind)
#E7D78F
Tritanopia (blue-blind)
#EBCEC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd88c;
/* rgb */ color: rgb(223, 216, 140);
/* oklch */ color: oklch(87.1% 0.097 103.7);
Tailwind
colors: {
  custom: {
    50: '#eae3ae',
    500: '#dfd88c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd88c;
$custom-light: #eae3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd88c",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 140
  },
  "hsl": {
    "h": 54.94,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8707,
    "c": 0.0969,
    "h": 103.7
  },
  "luminance": 0.66693
}

Semantic roles & 50–950 ramp

primary
#DFD88C
secondary
#5860B7
accent
#2FC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD88C

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

Preview Lab → · Contrast checker → · Palette generator →

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