#DFDC87#DFDC87

#DFDC87 is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.107 H 106.7°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#DFDC87
RGBrgb(223, 220, 135)
HSLhsl(58, 58%, 70%)
HSVhsv(58, 39%, 87%)
CMYKcmyk(0%, 1.3%, 39.5%, 12.5%)
CIE-LABlab(86.32, -11.16, 42.09)
CIE-LCHlch(86.32, 43.55, 104.85°)
OKLaboklab(87.82% -0.0307 0.1025)
OKLCHoklch(87.82% 0.107 106.7)
XYZxyz(60.3987, 68.6250, 32.9812)
Luminance0.6862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC87 #878ADF
analogous
#DFB087 #DFDC87 #B6DF87
triadic
#DFDC87 #87DFDC #DC87DF
tetradic
#DFDC87 #87DFB0 #878ADF #DF87B6
square
#DFDC87 #87DFB0 #878ADF #DF87B6
split-complementary
#DFDC87 #87B6DF #B087DF
monochromatic
#BAB532 #D2CE57 #DFDC87 #ECEAB7 #F9F8E7

Accessibility & contrast

On white

1.43
#DFDC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#DFDC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC87
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC87#FFFFFF#000000##000000
##DFDC871.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D680
Deuteranopia (green-blind)
#EBDA8B
Tritanopia (blue-blind)
#EBD2C7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdc87;
/* rgb */ color: rgb(223, 220, 135);
/* oklch */ color: oklch(87.8% 0.107 106.7);
Tailwind
colors: {
  custom: {
    50: '#eae6ab',
    500: '#dfdc87',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc87;
$custom-light: #eae6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc87",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 135
  },
  "hsl": {
    "h": 57.955,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87815,
    "c": 0.10697,
    "h": 106.7
  },
  "luminance": 0.68624
}

Semantic roles & 50–950 ramp

primary
#DFDC87
secondary
#5457B7
accent
#26C520
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #DFDC87

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

Preview Lab → · Contrast checker → · Palette generator →

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