#D5F251#D5F251

#D5F251 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.1% C 0.183 H 119.0°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#D5F251
RGBrgb(213, 242, 81)
HSLhsl(71, 86%, 63%)
HSVhsv(71, 67%, 95%)
CMYKcmyk(12%, 0%, 66.5%, 5.1%)
CIE-LABlab(90.89, -30.21, 71.20)
CIE-LCHlch(90.89, 77.34, 112.99°)
OKLaboklab(91.11% -0.089 0.1605)
OKLCHoklch(91.11% 0.183 119)
XYZxyz(60.6790, 78.2449, 19.6891)
Luminance0.7824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F251 #6E51F2
analogous
#F2BE51 #D5F251 #85F251
triadic
#D5F251 #51D5F2 #F251D5
tetradic
#D5F251 #51F2BE #6E51F2 #F25185
square
#D5F251 #51F2BE #6E51F2 #F25185
split-complementary
#D5F251 #5185F2 #BE51F2
monochromatic
#9CBB0E #C7EE18 #D5F251 #E3F68A #F0FBC3

Accessibility & contrast

On white

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

On black

16.65
#D5F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F251
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F251#FFFFFF#000000##000000
##D5F2511.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE539
Deuteranopia (green-blind)
#FEE55D
Tritanopia (blue-blind)
#E1E5D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d5f251;
/* rgb */ color: rgb(213, 242, 81);
/* oklch */ color: oklch(91.1% 0.183 119.0);
Tailwind
colors: {
  custom: {
    50: '#e5f68a',
    500: '#d5f251',
    950: '#000000',
  },
}
SCSS
$custom: #d5f251;
$custom-light: #e5f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f251",
  "rgb": {
    "r": 213,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 70.807,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91112,
    "c": 0.18348,
    "h": 119
  },
  "luminance": 0.78244
}

Semantic roles & 50–950 ramp

primary
#D5F251
secondary
#472EB9
accent
#03E32B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D5F251

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

Preview Lab → · Contrast checker → · Palette generator →

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