#DFDF87#DFDF87

#DFDF87 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.4% C 0.110 H 108.5°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#DFDF87
RGBrgb(223, 223, 135)
HSLhsl(60, 58%, 70%)
HSVhsv(60, 39%, 87%)
CMYKcmyk(0%, 0%, 39.5%, 12.5%)
CIE-LABlab(87.10, -12.66, 43.09)
CIE-LCHlch(87.10, 44.91, 106.38°)
OKLaboklab(88.44% -0.035 0.1047)
OKLCHoklch(88.44% 0.11 108.5)
XYZxyz(61.1932, 70.2138, 33.2460)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF87 #8787DF
analogous
#DFB387 #DFDF87 #B3DF87
triadic
#DFDF87 #87DFDF #DF87DF
tetradic
#DFDF87 #87DFB3 #8787DF #DF87B3
square
#DFDF87 #87DFB3 #8787DF #DF87B3
split-complementary
#DFDF87 #87B3DF #B387DF
monochromatic
#BABA32 #D2D257 #DFDF87 #ECECB7 #F9F9E7

Accessibility & contrast

On white

1.40
#DFDF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#DFDF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF87
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF87#FFFFFF#000000##000000
##DFDF871.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD880
Deuteranopia (green-blind)
#EDDC8B
Tritanopia (blue-blind)
#EAD5C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf87;
/* rgb */ color: rgb(223, 223, 135);
/* oklch */ color: oklch(88.4% 0.110 108.5);
Tailwind
colors: {
  custom: {
    50: '#eae8ab',
    500: '#dfdf87',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf87;
$custom-light: #eae8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf87",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 135
  },
  "hsl": {
    "h": 60,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88438,
    "c": 0.11041,
    "h": 108.5
  },
  "luminance": 0.70213
}

Semantic roles & 50–950 ramp

primary
#DFDF87
secondary
#5454B7
accent
#20C520
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #DFDF87

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

Preview Lab → · Contrast checker → · Palette generator →

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