#DFD87C#DFD87C

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

Color values

HEX#DFD87C
RGBrgb(223, 216, 124)
HSLhsl(56, 61%, 68%)
HSVhsv(56, 44%, 87%)
CMYKcmyk(0%, 3.1%, 44.4%, 12.5%)
CIE-LABlab(85.13, -10.27, 46.03)
CIE-LCHlch(85.13, 47.16, 102.58°)
OKLaboklab(86.82% -0.029 0.1107)
OKLCHoklch(86.82% 0.114 104.7)
XYZxyz(58.6266, 66.2565, 28.7654)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD87C #7C83DF
analogous
#DFA77C #DFD87C #B4DF7C
triadic
#DFD87C #7CDFD8 #D87CDF
tetradic
#DFD87C #7CDFA7 #7C83DF #DF7CB4
square
#DFD87C #7CDFA7 #7C83DF #DF7CB4
split-complementary
#DFD87C #7CB4DF #A77CDF
monochromatic
#B5AB2C #D3C94B #DFD87C #EBE7AD #F7F5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD87C#FFFFFF#000000##000000
##DFD87C1.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)
#E6D274
Deuteranopia (green-blind)
#E9D780
Tritanopia (blue-blind)
#ECCDC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd87c;
/* rgb */ color: rgb(223, 216, 124);
/* oklch */ color: oklch(86.8% 0.114 104.7);
Tailwind
colors: {
  custom: {
    50: '#ebe3a3',
    500: '#dfd87c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd87c;
$custom-light: #ebe3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd87c",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 124
  },
  "hsl": {
    "h": 55.758,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86821,
    "c": 0.11445,
    "h": 104.7
  },
  "luminance": 0.66255
}

Semantic roles & 50–950 ramp

primary
#DFD87C
secondary
#4951B6
accent
#29C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD87C

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

Preview Lab → · Contrast checker → · Palette generator →

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