#D9E257#D9E257

#D9E257 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.0% C 0.160 H 112.7°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#D9E257
RGBrgb(217, 226, 87)
HSLhsl(64, 71%, 61%)
HSVhsv(64, 62%, 89%)
CMYKcmyk(4%, 0%, 61.5%, 11.4%)
CIE-LABlab(86.92, -20.64, 64.78)
CIE-LCHlch(86.92, 67.99, 107.68°)
OKLaboklab(88.01% -0.0619 0.1477)
OKLCHoklch(88.01% 0.16 112.7)
XYZxyz(57.5334, 69.8337, 19.4635)
Luminance0.6983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E257 #6057E2
analogous
#E2A657 #D9E257 #94E257
triadic
#D9E257 #57D9E2 #E257D9
tetradic
#D9E257 #57E2A6 #6057E2 #E25794
square
#D9E257 #57E2A6 #6057E2 #E25794
split-complementary
#D9E257 #5794E2 #A657E2
monochromatic
#9AA31C #CBD725 #D9E257 #E5EB8B #F1F4BF

Accessibility & contrast

On white

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

On black

14.97
#D9E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E257
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E257#FFFFFF#000000##000000
##D9E2571.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D846
Deuteranopia (green-blind)
#F2DB60
Tritanopia (blue-blind)
#E7D5C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d9e257;
/* rgb */ color: rgb(217, 226, 87);
/* oklch */ color: oklch(88.0% 0.160 112.7);
Tailwind
colors: {
  custom: {
    50: '#e8eb8c',
    500: '#d9e257',
    950: '#000000',
  },
}
SCSS
$custom: #d9e257;
$custom-light: #e8eb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e257",
  "rgb": {
    "r": 217,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 63.885,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88008,
    "c": 0.16013,
    "h": 112.7
  },
  "luminance": 0.69833
}

Semantic roles & 50–950 ramp

primary
#D9E257
secondary
#3F38A5
accent
#13D31F
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E257

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

Preview Lab → · Contrast checker → · Palette generator →

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