#DFE787#DFE787

#DFE787 is a very light, moderate yellow. Relative luminance 0.746; OKLCH L 90.1% C 0.120 H 112.7°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#DFE787
RGBrgb(223, 231, 135)
HSLhsl(65, 67%, 72%)
HSVhsv(65, 42%, 91%)
CMYKcmyk(3.5%, 0%, 41.6%, 9.4%)
CIE-LABlab(89.20, -16.62, 45.73)
CIE-LCHlch(89.20, 48.65, 109.98°)
OKLaboklab(90.11% -0.0463 0.1107)
OKLCHoklch(90.11% 0.12 112.7)
XYZxyz(63.3813, 74.5900, 33.9754)
Luminance0.7459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE787 #8F87E7
analogous
#E7BF87 #DFE787 #AFE787
triadic
#DFE787 #87DFE7 #E787DF
tetradic
#DFE787 #87E7BF #8F87E7 #E787AF
square
#DFE787 #87E7BF #8F87E7 #E787AF
split-complementary
#DFE787 #87AFE7 #BF87E7
monochromatic
#BDCB29 #D1DD54 #DFE787 #EDF1BA #F8FAE5

Accessibility & contrast

On white

1.32
#DFE787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#DFE787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE787
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE787#FFFFFF#000000##000000
##DFE7871.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7F
Deuteranopia (green-blind)
#F4E18C
Tritanopia (blue-blind)
#EADDD0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dfe787;
/* rgb */ color: rgb(223, 231, 135);
/* oklch */ color: oklch(90.1% 0.120 112.7);
Tailwind
colors: {
  custom: {
    50: '#eaeeab',
    500: '#dfe787',
    950: '#000000',
  },
}
SCSS
$custom: #dfe787;
$custom-light: #eaeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe787",
  "rgb": {
    "r": 223,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 65,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90108,
    "c": 0.11998,
    "h": 112.7
  },
  "luminance": 0.74589
}

Semantic roles & 50–950 ramp

primary
#DFE787
secondary
#5B52C0
accent
#17CF26
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581

Preview Lab

Preview with #DFE787

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

Preview Lab → · Contrast checker → · Palette generator →

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