#D5F342#D5F342

#D5F342 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.2% C 0.194 H 119.0°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#D5F342
RGBrgb(213, 243, 66)
HSLhsl(70, 88%, 61%)
HSVhsv(70, 73%, 95%)
CMYKcmyk(12.3%, 0%, 72.8%, 4.7%)
CIE-LABlab(91.07, -31.47, 76.60)
CIE-LCHlch(91.07, 82.81, 112.33°)
OKLaboklab(91.23% -0.0938 0.1695)
OKLCHoklch(91.23% 0.194 119)
XYZxyz(60.4758, 78.6411, 17.1465)
Luminance0.7864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F342 #6042F3
analogous
#F3B842 #D5F342 #7DF342
triadic
#D5F342 #42D5F3 #F342D5
tetradic
#D5F342 #42F3B8 #6042F3 #F3427D
square
#D5F342 #42F3B8 #6042F3 #F3427D
split-complementary
#D5F342 #427DF3 #B842F3
monochromatic
#94AF0B #C4E90F #D5F342 #E2F77C #EFFAB5

Accessibility & contrast

On white

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

On black

16.73
#D5F342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F342
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F342#FFFFFF#000000##000000
##D5F3421.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE51C
Deuteranopia (green-blind)
#FFE652
Tritanopia (blue-blind)
#E2E6D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d5f342;
/* rgb */ color: rgb(213, 243, 66);
/* oklch */ color: oklch(91.2% 0.194 119.0);
Tailwind
colors: {
  custom: {
    50: '#e6f782',
    500: '#d5f342',
    950: '#000000',
  },
}
SCSS
$custom: #d5f342;
$custom-light: #e6f782;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f342",
  "rgb": {
    "r": 213,
    "g": 243,
    "b": 66
  },
  "hsl": {
    "h": 70.169,
    "s": 88.06,
    "l": 60.588
  },
  "oklch": {
    "l": 0.91228,
    "c": 0.19372,
    "h": 119
  },
  "luminance": 0.78641
}

Semantic roles & 50–950 ramp

primary
#D5F342
secondary
#402AB0
accent
#01E527
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#16170B
muted
#85857E

Preview Lab

Preview with #D5F342

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

Preview Lab → · Contrast checker → · Palette generator →

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