#DFD287#DFD287

#DFD287 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.096 H 99.6°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#DFD287
RGBrgb(223, 210, 135)
HSLhsl(51, 58%, 70%)
HSVhsv(51, 39%, 87%)
CMYKcmyk(0%, 5.8%, 39.5%, 12.5%)
CIE-LABlab(83.72, -6.10, 38.78)
CIE-LCHlch(83.72, 39.26, 98.93°)
OKLaboklab(85.76% -0.0161 0.0949)
OKLCHoklch(85.76% 0.096 99.6)
XYZxyz(57.8523, 63.5321, 32.1324)
Luminance0.6353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD287 #8794DF
analogous
#DFA687 #DFD287 #C0DF87
triadic
#DFD287 #87DFD2 #D287DF
tetradic
#DFD287 #87DFA6 #8794DF #DF87C0
square
#DFD287 #87DFA6 #8794DF #DF87C0
split-complementary
#DFD287 #87C0DF #A687DF
monochromatic
#BAA632 #D2C057 #DFD287 #ECE4B7 #F9F6E7

Accessibility & contrast

On white

1.53
#DFD287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#DFD287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD287
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD287#FFFFFF#000000##000000
##DFD2871.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE81
Deuteranopia (green-blind)
#E3D38A
Tritanopia (blue-blind)
#EBC8BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd287;
/* rgb */ color: rgb(223, 210, 135);
/* oklch */ color: oklch(85.8% 0.096 99.6);
Tailwind
colors: {
  custom: {
    50: '#eadfab',
    500: '#dfd287',
    950: '#000000',
  },
}
SCSS
$custom: #dfd287;
$custom-light: #eadfab;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd287",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 135
  },
  "hsl": {
    "h": 51.136,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85756,
    "c": 0.09627,
    "h": 99.6
  },
  "luminance": 0.6353
}

Semantic roles & 50–950 ramp

primary
#DFD287
secondary
#5462B7
accent
#38C520
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #DFD287

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

Preview Lab → · Contrast checker → · Palette generator →

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