#DFC87F#DFC87F

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

Color values

HEX#DFC87F
RGBrgb(223, 200, 127)
HSLhsl(46, 60%, 69%)
HSVhsv(46, 43%, 87%)
CMYKcmyk(0%, 10.3%, 43%, 12.5%)
CIE-LABlab(81.03, -1.80, 39.39)
CIE-LCHlch(81.03, 39.43, 92.61°)
OKLaboklab(83.59% -0.0043 0.0959)
OKLCHoklch(83.59% 0.096 92.6)
XYZxyz(54.9179, 58.5309, 28.4793)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC87F #7F96DF
analogous
#DF987F #DFC87F #C6DF7F
triadic
#DFC87F #7FDFC8 #C87FDF
tetradic
#DFC87F #7FDF98 #7F96DF #DF7FC6
square
#DFC87F #7FDF98 #7F96DF #DF7FC6
split-complementary
#DFC87F #7FC6DF #987FDF
monochromatic
#B6952E #D3B34E #DFC87F #EBDDB0 #F7F2E1

Accessibility & contrast

On white

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

On black

12.71
#DFC87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC87F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC87F#FFFFFF#000000##000000
##DFC87F1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc87f;
/* rgb */ color: rgb(223, 200, 127);
/* oklch */ color: oklch(83.6% 0.096 92.6);
Tailwind
colors: {
  custom: {
    50: '#ead8a5',
    500: '#dfc87f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc87f;
$custom-light: #ead8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc87f",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 45.625,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83593,
    "c": 0.09603,
    "h": 92.6
  },
  "luminance": 0.58529
}

Semantic roles & 50–950 ramp

primary
#DFC87F
secondary
#4C66B6
accent
#47C81E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DFC87F

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

Preview Lab → · Contrast checker → · Palette generator →

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