#D9F156#D9F156

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

Color values

HEX#D9F156
RGBrgb(217, 241, 86)
HSLhsl(69, 85%, 64%)
HSVhsv(69, 64%, 95%)
CMYKcmyk(10%, 0%, 64.3%, 5.5%)
CIE-LABlab(90.93, -27.86, 69.42)
CIE-LCHlch(90.93, 74.81, 111.87°)
OKLaboklab(91.23% -0.0822 0.1573)
OKLCHoklch(91.23% 0.178 117.6)
XYZxyz(61.7515, 78.3348, 20.6694)
Luminance0.7833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F156 #6E56F1
analogous
#F1BB56 #D9F156 #8CF156
triadic
#D9F156 #56D9F1 #F156D9
tetradic
#D9F156 #56F1BB #6E56F1 #F1568C
square
#D9F156 #56F1BB #6E56F1 #F1568C
split-complementary
#D9F156 #568CF1 #BB56F1
monochromatic
#A2BD10 #CCEC1D #D9F156 #E6F68F #F2FAC7

Accessibility & contrast

On white

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

On black

16.67
#D9F156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F156
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F156#FFFFFF#000000##000000
##D9F1561.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE541
Deuteranopia (green-blind)
#FEE661
Tritanopia (blue-blind)
#E5E4D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d9f156;
/* rgb */ color: rgb(217, 241, 86);
/* oklch */ color: oklch(91.2% 0.178 117.6);
Tailwind
colors: {
  custom: {
    50: '#e8f58d',
    500: '#d9f156',
    950: '#000000',
  },
}
SCSS
$custom: #d9f156;
$custom-light: #e8f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f156",
  "rgb": {
    "r": 217,
    "g": 241,
    "b": 86
  },
  "hsl": {
    "h": 69.29,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91226,
    "c": 0.17754,
    "h": 117.6
  },
  "luminance": 0.78334
}

Semantic roles & 50–950 ramp

primary
#D9F156
secondary
#4530BB
accent
#04E127
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D9F156

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

Preview Lab → · Contrast checker → · Palette generator →

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