#DFD87E#DFD87E

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

Color values

HEX#DFD87E
RGBrgb(223, 216, 126)
HSLhsl(56, 60%, 68%)
HSVhsv(56, 43%, 87%)
CMYKcmyk(0%, 3.1%, 43.5%, 12.5%)
CIE-LABlab(85.15, -10.08, 45.08)
CIE-LCHlch(85.15, 46.19, 102.60°)
OKLaboklab(86.85% -0.0283 0.1087)
OKLCHoklch(86.85% 0.112 104.6)
XYZxyz(58.7544, 66.3076, 29.4383)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD87E #7E85DF
analogous
#DFA77E #DFD87E #B5DF7E
triadic
#DFD87E #7EDFD8 #D87EDF
tetradic
#DFD87E #7EDFA7 #7E85DF #DF7EB5
square
#DFD87E #7EDFA7 #7E85DF #DF7EB5
split-complementary
#DFD87E #7EB5DF #A77EDF
monochromatic
#B6AC2D #D3C94D #DFD87E #EBE7AF #F7F6E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD87E#FFFFFF#000000##000000
##DFD87E1.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)
#E6D277
Deuteranopia (green-blind)
#E9D782
Tritanopia (blue-blind)
#ECCDC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd87e;
/* rgb */ color: rgb(223, 216, 126);
/* oklch */ color: oklch(86.9% 0.112 104.6);
Tailwind
colors: {
  custom: {
    50: '#eae3a5',
    500: '#dfd87e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd87e;
$custom-light: #eae3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd87e",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 126
  },
  "hsl": {
    "h": 55.67,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8685,
    "c": 0.11232,
    "h": 104.6
  },
  "luminance": 0.66306
}

Semantic roles & 50–950 ramp

primary
#DFD87E
secondary
#4B53B6
accent
#2AC81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD87E

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

Preview Lab → · Contrast checker → · Palette generator →

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