#DFE987#DFE987

#DFE987 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.5% C 0.122 H 113.6°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#DFE987
RGBrgb(223, 233, 135)
HSLhsl(66, 69%, 72%)
HSVhsv(66, 42%, 91%)
CMYKcmyk(4.3%, 0%, 42.1%, 8.6%)
CIE-LABlab(89.73, -17.60, 46.39)
CIE-LCHlch(89.73, 49.61, 110.78°)
OKLaboklab(90.53% -0.0491 0.1122)
OKLCHoklch(90.53% 0.122 113.6)
XYZxyz(63.9442, 75.7160, 34.1631)
Luminance0.7571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE987 #9187E9
analogous
#E9C287 #DFE987 #AEE987
triadic
#DFE987 #87DFE9 #E987DF
tetradic
#DFE987 #87E9C2 #9187E9 #E987AE
square
#DFE987 #87E9C2 #9187E9 #E987AE
split-complementary
#DFE987 #87AEE9 #C287E9
monochromatic
#BED026 #D1E053 #DFE987 #EDF2BB #F8FAE5

Accessibility & contrast

On white

1.30
#DFE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#DFE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE987
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE987#FFFFFF#000000##000000
##DFE9871.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17F
Deuteranopia (green-blind)
#F5E38C
Tritanopia (blue-blind)
#EADFD1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfe987;
/* rgb */ color: rgb(223, 233, 135);
/* oklch */ color: oklch(90.5% 0.122 113.6);
Tailwind
colors: {
  custom: {
    50: '#eaf0ab',
    500: '#dfe987',
    950: '#000000',
  },
}
SCSS
$custom: #dfe987;
$custom-light: #eaf0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe987",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 66.122,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90528,
    "c": 0.12244,
    "h": 113.6
  },
  "luminance": 0.75715
}

Semantic roles & 50–950 ramp

primary
#DFE987
secondary
#5D52C3
accent
#15D128
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581

Preview Lab

Preview with #DFE987

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

Preview Lab → · Contrast checker → · Palette generator →

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