#D9F462#D9F462

#D9F462 is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 92.0% C 0.172 H 118.8°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#D9F462
RGBrgb(217, 244, 98)
HSLhsl(71, 87%, 67%)
HSVhsv(71, 60%, 96%)
CMYKcmyk(11.1%, 0%, 59.8%, 4.3%)
CIE-LABlab(91.84, -28.46, 65.56)
CIE-LCHlch(91.84, 71.47, 113.47°)
OKLaboklab(91.98% -0.0828 0.1508)
OKLCHoklch(91.98% 0.172 118.8)
XYZxyz(63.1715, 80.3354, 23.7313)
Luminance0.8034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F462 #7D62F4
analogous
#F4C662 #D9F462 #90F462
triadic
#D9F462 #62D9F4 #F462D9
tetradic
#D9F462 #62F4C6 #7D62F4 #F46290
square
#D9F462 #62F4C6 #7D62F4 #F46290
split-complementary
#D9F462 #6290F4 #C662F4
monochromatic
#AACD0E #CBF029 #D9F462 #E7F89B #F5FCD4

Accessibility & contrast

On white

1.23
#D9F462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#D9F462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F462
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F462#FFFFFF#000000##000000
##D9F4621.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFE86C
Tritanopia (blue-blind)
#E5E8D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d9f462;
/* rgb */ color: rgb(217, 244, 98);
/* oklch */ color: oklch(92.0% 0.172 118.8);
Tailwind
colors: {
  custom: {
    50: '#e8f794',
    500: '#d9f462',
    950: '#000000',
  },
}
SCSS
$custom: #d9f462;
$custom-light: #e8f794;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f462",
  "rgb": {
    "r": 217,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 71.096,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91981,
    "c": 0.17198,
    "h": 118.8
  },
  "luminance": 0.80335
}

Semantic roles & 50–950 ramp

primary
#D9F462
secondary
#4D31C9
accent
#02E32C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F462

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

Preview Lab → · Contrast checker → · Palette generator →

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