#D5F45B#D5F45B

#D5F45B is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.6% C 0.179 H 119.8°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#D5F45B
RGBrgb(213, 244, 91)
HSLhsl(72, 87%, 66%)
HSVhsv(72, 63%, 96%)
CMYKcmyk(12.7%, 0%, 62.7%, 4.3%)
CIE-LABlab(91.51, -30.50, 67.98)
CIE-LCHlch(91.51, 74.51, 114.17°)
OKLaboklab(91.63% -0.0889 0.1551)
OKLCHoklch(91.63% 0.179 119.8)
XYZxyz(61.6805, 79.6031, 22.0110)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F45B #7A5BF4
analogous
#F4C75B #D5F45B #88F45B
triadic
#D5F45B #5BD5F4 #F45BD5
tetradic
#D5F45B #5BF4C7 #7A5BF4 #F45B88
square
#D5F45B #5BF4C7 #7A5BF4 #F45B88
split-complementary
#D5F45B #5B88F4 #C75BF4
monochromatic
#A2C70D #C6F022 #D5F45B #E4F894 #F2FCCE

Accessibility & contrast

On white

1.24
#D5F45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#D5F45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F45B
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F45B#FFFFFF#000000##000000
##D5F45B1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE748
Deuteranopia (green-blind)
#FFE766
Tritanopia (blue-blind)
#E0E8D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d5f45b;
/* rgb */ color: rgb(213, 244, 91);
/* oklch */ color: oklch(91.6% 0.179 119.8);
Tailwind
colors: {
  custom: {
    50: '#e5f790',
    500: '#d5f45b',
    950: '#000000',
  },
}
SCSS
$custom: #d5f45b;
$custom-light: #e5f790;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f45b",
  "rgb": {
    "r": 213,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 72.157,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.9163,
    "c": 0.17873,
    "h": 119.8
  },
  "luminance": 0.79603
}

Semantic roles & 50–950 ramp

primary
#D5F45B
secondary
#4D2FC4
accent
#02E42F
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D5F45B

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

Preview Lab → · Contrast checker → · Palette generator →

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