#D7F462#D7F462

#D7F462 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.8% C 0.173 H 119.4°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#D7F462
RGBrgb(215, 244, 98)
HSLhsl(72, 87%, 67%)
HSVhsv(72, 60%, 96%)
CMYKcmyk(11.9%, 0%, 59.8%, 4.3%)
CIE-LABlab(91.70, -29.24, 65.37)
CIE-LCHlch(91.70, 71.61, 114.10°)
OKLaboklab(91.84% -0.0848 0.1504)
OKLCHoklch(91.84% 0.173 119.4)
XYZxyz(62.5805, 80.0306, 23.7036)
Luminance0.8003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F462 #7F62F4
analogous
#F4C862 #D7F462 #8EF462
triadic
#D7F462 #62D7F4 #F462D7
tetradic
#D7F462 #62F4C8 #7F62F4 #F4628E
square
#D7F462 #62F4C8 #7F62F4 #F4628E
split-complementary
#D7F462 #628EF4 #C862F4
monochromatic
#A7CD0E #C8F029 #D7F462 #E6F89B #F4FCD4

Accessibility & contrast

On white

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

On black

17.01
#D7F462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F462
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F462#FFFFFF#000000##000000
##D7F4621.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7f462;
/* rgb */ color: rgb(215, 244, 98);
/* oklch */ color: oklch(91.8% 0.173 119.4);
Tailwind
colors: {
  custom: {
    50: '#e6f794',
    500: '#d7f462',
    950: '#000000',
  },
}
SCSS
$custom: #d7f462;
$custom-light: #e6f794;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f462",
  "rgb": {
    "r": 215,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 71.918,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91837,
    "c": 0.17266,
    "h": 119.4
  },
  "luminance": 0.8003
}

Semantic roles & 50–950 ramp

primary
#D7F462
secondary
#4F31C9
accent
#02E32F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D7F462

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

Preview Lab → · Contrast checker → · Palette generator →

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