#DFC87E#DFC87E

#DFC87E is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.6% C 0.097 H 92.8°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#DFC87E
RGBrgb(223, 200, 126)
HSLhsl(46, 60%, 68%)
HSVhsv(46, 43%, 87%)
CMYKcmyk(0%, 10.3%, 43.5%, 12.5%)
CIE-LABlab(81.02, -1.90, 39.88)
CIE-LCHlch(81.02, 39.93, 92.73°)
OKLaboklab(83.58% -0.0047 0.097)
OKLCHoklch(83.58% 0.097 92.8)
XYZxyz(54.8531, 58.5050, 28.1378)
Luminance0.5850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC87E #7E95DF
analogous
#DF977E #DFC87E #C5DF7E
triadic
#DFC87E #7EDFC8 #C87EDF
tetradic
#DFC87E #7EDF97 #7E95DF #DF7EC5
square
#DFC87E #7EDF97 #7E95DF #DF7EC5
split-complementary
#DFC87E #7EC5DF #977EDF
monochromatic
#B6952D #D3B34D #DFC87E #EBDDAF #F7F2E0

Accessibility & contrast

On white

1.65
#DFC87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#DFC87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC87E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC87E#FFFFFF#000000##000000
##DFC87E1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C578
Deuteranopia (green-blind)
#DDCC81
Tritanopia (blue-blind)
#EDBDB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc87e;
/* rgb */ color: rgb(223, 200, 126);
/* oklch */ color: oklch(83.6% 0.097 92.8);
Tailwind
colors: {
  custom: {
    50: '#ead8a4',
    500: '#dfc87e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc87e;
$custom-light: #ead8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc87e",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 126
  },
  "hsl": {
    "h": 45.773,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83577,
    "c": 0.0971,
    "h": 92.8
  },
  "luminance": 0.58503
}

Semantic roles & 50–950 ramp

primary
#DFC87E
secondary
#4B65B6
accent
#46C81E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC87E

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

Preview Lab → · Contrast checker → · Palette generator →

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