#D7F052#D7F052

#D7F052 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 90.8% C 0.180 H 117.9°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#D7F052
RGBrgb(215, 240, 82)
HSLhsl(69, 84%, 63%)
HSVhsv(69, 66%, 94%)
CMYKcmyk(10.4%, 0%, 65.8%, 5.9%)
CIE-LABlab(90.49, -28.43, 70.46)
CIE-LCHlch(90.49, 75.98, 111.97°)
OKLaboklab(90.83% -0.0841 0.159)
OKLCHoklch(90.83% 0.18 117.9)
XYZxyz(60.7086, 77.3770, 19.7181)
Luminance0.7738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F052 #6B52F0
analogous
#F0BA52 #D7F052 #88F052
triadic
#D7F052 #52D7F0 #F052D7
tetradic
#D7F052 #52F0BA #6B52F0 #F05288
square
#D7F052 #52F0BA #6B52F0 #F05288
split-complementary
#D7F052 #5288F0 #BA52F0
monochromatic
#9DB810 #CAEB1A #D7F052 #E4F58A #F1FAC3

Accessibility & contrast

On white

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

On black

16.48
#D7F052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F052
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F052#FFFFFF#000000##000000
##D7F0521.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33B
Deuteranopia (green-blind)
#FDE55E
Tritanopia (blue-blind)
#E3E3D0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d7f052;
/* rgb */ color: rgb(215, 240, 82);
/* oklch */ color: oklch(90.8% 0.180 117.9);
Tailwind
colors: {
  custom: {
    50: '#e7f48b',
    500: '#d7f052',
    950: '#000000',
  },
}
SCSS
$custom: #d7f052;
$custom-light: #e7f48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f052",
  "rgb": {
    "r": 215,
    "g": 240,
    "b": 82
  },
  "hsl": {
    "h": 69.494,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.9083,
    "c": 0.17986,
    "h": 117.9
  },
  "luminance": 0.77376
}

Semantic roles & 50–950 ramp

primary
#D7F052
secondary
#452FB7
accent
#05E028
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D7F052

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

Preview Lab → · Contrast checker → · Palette generator →

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