#D9F251#D9F251

#D9F251 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.4% C 0.182 H 117.8°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#D9F251
RGBrgb(217, 242, 81)
HSLhsl(69, 86%, 63%)
HSVhsv(69, 67%, 95%)
CMYKcmyk(10.3%, 0%, 66.5%, 5.1%)
CIE-LABlab(91.17, -28.63, 71.57)
CIE-LCHlch(91.17, 77.08, 111.81°)
OKLaboklab(91.4% -0.0848 0.1611)
OKLCHoklch(91.4% 0.182 117.8)
XYZxyz(61.8539, 78.8507, 19.7442)
Luminance0.7885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F251 #6A51F2
analogous
#F2BA51 #D9F251 #88F251
triadic
#D9F251 #51D9F2 #F251D9
tetradic
#D9F251 #51F2BA #6A51F2 #F25188
square
#D9F251 #51F2BA #6A51F2 #F25188
split-complementary
#D9F251 #5188F2 #BA51F2
monochromatic
#A0BB0E #CDEE18 #D9F251 #E5F68A #F2FBC3

Accessibility & contrast

On white

1.25
#D9F251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#D9F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F251
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F251#FFFFFF#000000##000000
##D9F2511.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE539
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#E6E5D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d9f251;
/* rgb */ color: rgb(217, 242, 81);
/* oklch */ color: oklch(91.4% 0.182 117.8);
Tailwind
colors: {
  custom: {
    50: '#e8f68a',
    500: '#d9f251',
    950: '#000000',
  },
}
SCSS
$custom: #d9f251;
$custom-light: #e8f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f251",
  "rgb": {
    "r": 217,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 69.317,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91402,
    "c": 0.18211,
    "h": 117.8
  },
  "luminance": 0.7885
}

Semantic roles & 50–950 ramp

primary
#D9F251
secondary
#442EB9
accent
#03E326
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D9F251

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

Preview Lab → · Contrast checker → · Palette generator →

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