#D7F152#D7F152

#D7F152 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.0% C 0.181 H 118.1°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#D7F152
RGBrgb(215, 241, 82)
HSLhsl(70, 85%, 63%)
HSVhsv(70, 66%, 95%)
CMYKcmyk(10.8%, 0%, 66%, 5.5%)
CIE-LABlab(90.77, -28.90, 70.74)
CIE-LCHlch(90.77, 76.41, 112.22°)
OKLaboklab(91.05% -0.0854 0.1596)
OKLCHoklch(91.05% 0.181 118.1)
XYZxyz(61.0038, 77.9674, 19.8165)
Luminance0.7797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F152 #6C52F1
analogous
#F1BB52 #D7F152 #87F152
triadic
#D7F152 #52D7F1 #F152D7
tetradic
#D7F152 #52F1BB #6C52F1 #F15287
square
#D7F152 #52F1BB #6C52F1 #F15287
split-complementary
#D7F152 #5287F1 #BB52F1
monochromatic
#9EBA0F #CAEC19 #D7F152 #E4F68B #F1FAC3

Accessibility & contrast

On white

1.27
#D7F152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#D7F152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F152
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F152#FFFFFF#000000##000000
##D7F1521.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43B
Deuteranopia (green-blind)
#FEE55E
Tritanopia (blue-blind)
#E3E4D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d7f152;
/* rgb */ color: rgb(215, 241, 82);
/* oklch */ color: oklch(91.0% 0.181 118.1);
Tailwind
colors: {
  custom: {
    50: '#e7f58b',
    500: '#d7f152',
    950: '#000000',
  },
}
SCSS
$custom: #d7f152;
$custom-light: #e7f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f152",
  "rgb": {
    "r": 215,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 69.811,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91047,
    "c": 0.18098,
    "h": 118.1
  },
  "luminance": 0.77967
}

Semantic roles & 50–950 ramp

primary
#D7F152
secondary
#452FB8
accent
#04E228
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D7F152

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

Preview Lab → · Contrast checker → · Palette generator →

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