#DFD87B#DFD87B

#DFD87B is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.115 H 104.8°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#DFD87B
RGBrgb(223, 216, 123)
HSLhsl(56, 61%, 68%)
HSVhsv(56, 45%, 87%)
CMYKcmyk(0%, 3.1%, 44.8%, 12.5%)
CIE-LABlab(85.11, -10.37, 46.50)
CIE-LCHlch(85.11, 47.64, 102.57°)
OKLaboklab(86.81% -0.0294 0.1117)
OKLCHoklch(86.81% 0.115 104.8)
XYZxyz(58.5637, 66.2314, 28.4340)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD87B #7B82DF
analogous
#DFA67B #DFD87B #B4DF7B
triadic
#DFD87B #7BDFD8 #D87BDF
tetradic
#DFD87B #7BDFA6 #7B82DF #DF7BB4
square
#DFD87B #7BDFA6 #7B82DF #DF7BB4
split-complementary
#DFD87B #7BB4DF #A67BDF
monochromatic
#B4AA2C #D3C94A #DFD87B #EBE7AC #F7F5DE

Accessibility & contrast

On white

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

On black

14.25
#DFD87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD87B
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD87B#FFFFFF#000000##000000
##DFD87B1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd87b;
/* rgb */ color: rgb(223, 216, 123);
/* oklch */ color: oklch(86.8% 0.115 104.8);
Tailwind
colors: {
  custom: {
    50: '#ebe3a3',
    500: '#dfd87b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd87b;
$custom-light: #ebe3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd87b",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 55.8,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86807,
    "c": 0.11549,
    "h": 104.8
  },
  "luminance": 0.6623
}

Semantic roles & 50–950 ramp

primary
#DFD87B
secondary
#4950B5
accent
#29C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD87B

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

Preview Lab → · Contrast checker → · Palette generator →

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