#D7EF52#D7EF52

#D7EF52 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 90.6% C 0.179 H 117.6°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#D7EF52
RGBrgb(215, 239, 82)
HSLhsl(69, 83%, 63%)
HSVhsv(69, 66%, 94%)
CMYKcmyk(10%, 0%, 65.7%, 6.3%)
CIE-LABlab(90.22, -27.96, 70.18)
CIE-LCHlch(90.22, 75.55, 111.72°)
OKLaboklab(90.61% -0.0828 0.1584)
OKLCHoklch(90.61% 0.179 117.6)
XYZxyz(60.4151, 76.7899, 19.6203)
Luminance0.7679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EF52 #6A52EF
analogous
#EFB852 #D7EF52 #88EF52
triadic
#D7EF52 #52D7EF #EF52D7
tetradic
#D7EF52 #52EFB8 #6A52EF #EF5288
square
#D7EF52 #52EFB8 #6A52EF #EF5288
split-complementary
#D7EF52 #5288EF #B852EF
monochromatic
#9DB611 #CAEA1A #D7EF52 #E4F48A #F1F9C2

Accessibility & contrast

On white

1.28
#D7EF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#D7EF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EF52
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EF52#FFFFFF#000000##000000
##D7EF521.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE33C
Deuteranopia (green-blind)
#FCE45E
Tritanopia (blue-blind)
#E3E2CF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d7ef52;
/* rgb */ color: rgb(215, 239, 82);
/* oklch */ color: oklch(90.6% 0.179 117.6);
Tailwind
colors: {
  custom: {
    50: '#e7f48a',
    500: '#d7ef52',
    950: '#000000',
  },
}
SCSS
$custom: #d7ef52;
$custom-light: #e7f48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ef52",
  "rgb": {
    "r": 215,
    "g": 239,
    "b": 82
  },
  "hsl": {
    "h": 69.172,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90613,
    "c": 0.17873,
    "h": 117.6
  },
  "luminance": 0.76789
}

Semantic roles & 50–950 ramp

primary
#D7EF52
secondary
#4430B5
accent
#06DF27
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D7EF52

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

Preview Lab → · Contrast checker → · Palette generator →

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