#DFE87F#DFE87F

#DFE87F is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.2% C 0.130 H 113.0°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#DFE87F
RGBrgb(223, 232, 127)
HSLhsl(65, 70%, 70%)
HSVhsv(65, 45%, 91%)
CMYKcmyk(3.9%, 0%, 45.3%, 9%)
CIE-LABlab(89.36, -17.92, 49.79)
CIE-LCHlch(89.36, 52.91, 109.80°)
OKLaboklab(90.2% -0.0506 0.1193)
OKLCHoklch(90.2% 0.13 113)
XYZxyz(63.1197, 74.9345, 31.2133)
Luminance0.7493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE87F #887FE8
analogous
#E8BC7F #DFE87F #AAE87F
triadic
#DFE87F #7FDFE8 #E87FDF
tetradic
#DFE87F #7FE8BC #887FE8 #E87FAA
square
#DFE87F #7FE8BC #887FE8 #E87FAA
split-complementary
#DFE87F #7FAAE8 #BC7FE8
monochromatic
#BAC924 #D2DF4B #DFE87F #ECF1B3 #F9FAE5

Accessibility & contrast

On white

1.31
#DFE87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#DFE87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE87F
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE87F#FFFFFF#000000##000000
##DFE87F1.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF76
Deuteranopia (green-blind)
#F5E284
Tritanopia (blue-blind)
#EADDCF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfe87f;
/* rgb */ color: rgb(223, 232, 127);
/* oklch */ color: oklch(90.2% 0.130 113.0);
Tailwind
colors: {
  custom: {
    50: '#ebefa6',
    500: '#dfe87f',
    950: '#000000',
  },
}
SCSS
$custom: #dfe87f;
$custom-light: #ebefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe87f",
  "rgb": {
    "r": 223,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 65.143,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90204,
    "c": 0.12957,
    "h": 113
  },
  "luminance": 0.74934
}

Semantic roles & 50–950 ramp

primary
#DFE87F
secondary
#554BC1
accent
#14D224
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DFE87F

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

Preview Lab → · Contrast checker → · Palette generator →

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