#D9F152#D9F152

#D9F152 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.2% C 0.180 H 117.5°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#D9F152
RGBrgb(217, 241, 82)
HSLhsl(69, 85%, 63%)
HSVhsv(69, 66%, 95%)
CMYKcmyk(10%, 0%, 66%, 5.5%)
CIE-LABlab(90.90, -28.11, 70.92)
CIE-LCHlch(90.90, 76.29, 111.62°)
OKLaboklab(91.19% -0.0833 0.1599)
OKLCHoklch(91.19% 0.18 117.5)
XYZxyz(61.5948, 78.2721, 19.8442)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F152 #6A52F1
analogous
#F1BA52 #D9F152 #89F152
triadic
#D9F152 #52D9F1 #F152D9
tetradic
#D9F152 #52F1BA #6A52F1 #F15289
square
#D9F152 #52F1BA #6A52F1 #F15289
split-complementary
#D9F152 #5289F1 #BA52F1
monochromatic
#A0BA0F #CDEC19 #D9F152 #E5F68B #F2FAC3

Accessibility & contrast

On white

1.26
#D9F152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#D9F152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F152
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F152#FFFFFF#000000##000000
##D9F1521.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43B
Deuteranopia (green-blind)
#FEE65E
Tritanopia (blue-blind)
#E6E4D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d9f152;
/* rgb */ color: rgb(217, 241, 82);
/* oklch */ color: oklch(91.2% 0.180 117.5);
Tailwind
colors: {
  custom: {
    50: '#e8f58b',
    500: '#d9f152',
    950: '#000000',
  },
}
SCSS
$custom: #d9f152;
$custom-light: #e8f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f152",
  "rgb": {
    "r": 217,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 69.057,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91194,
    "c": 0.18032,
    "h": 117.5
  },
  "luminance": 0.78272
}

Semantic roles & 50–950 ramp

primary
#D9F152
secondary
#442FB8
accent
#04E225
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D9F152

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

Preview Lab → · Contrast checker → · Palette generator →

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