#DFD87D#DFD87D

#DFD87D is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.113 H 104.6°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#DFD87D
RGBrgb(223, 216, 125)
HSLhsl(56, 60%, 68%)
HSVhsv(56, 44%, 87%)
CMYKcmyk(0%, 3.1%, 43.9%, 12.5%)
CIE-LABlab(85.14, -10.17, 45.55)
CIE-LCHlch(85.14, 46.67, 102.59°)
OKLaboklab(86.84% -0.0287 0.1097)
OKLCHoklch(86.84% 0.113 104.6)
XYZxyz(58.6902, 66.2820, 29.1001)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD87D #7D84DF
analogous
#DFA77D #DFD87D #B5DF7D
triadic
#DFD87D #7DDFD8 #D87DDF
tetradic
#DFD87D #7DDFA7 #7D84DF #DF7DB5
square
#DFD87D #7DDFA7 #7D84DF #DF7DB5
split-complementary
#DFD87D #7DB5DF #A77DDF
monochromatic
#B5AB2D #D3C94C #DFD87D #EBE7AE #F7F5DF

Accessibility & contrast

On white

1.47
#DFD87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#DFD87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD87D
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD87D#FFFFFF#000000##000000
##DFD87D1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D276
Deuteranopia (green-blind)
#E9D781
Tritanopia (blue-blind)
#ECCDC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd87d;
/* rgb */ color: rgb(223, 216, 125);
/* oklch */ color: oklch(86.8% 0.113 104.6);
Tailwind
colors: {
  custom: {
    50: '#eae3a4',
    500: '#dfd87d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd87d;
$custom-light: #eae3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd87d",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 55.714,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86836,
    "c": 0.11338,
    "h": 104.6
  },
  "luminance": 0.6628
}

Semantic roles & 50–950 ramp

primary
#DFD87D
secondary
#4A52B6
accent
#2AC81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD87D

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

Preview Lab → · Contrast checker → · Palette generator →

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