#D7EB52#D7EB52

#D7EB52 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 89.7% C 0.174 H 116.4°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#D7EB52
RGBrgb(215, 235, 82)
HSLhsl(68, 79%, 62%)
HSVhsv(68, 65%, 92%)
CMYKcmyk(8.5%, 0%, 65.1%, 7.8%)
CIE-LABlab(89.15, -26.07, 69.07)
CIE-LCHlch(89.15, 73.82, 110.68°)
OKLaboklab(89.75% -0.0775 0.1561)
OKLCHoklch(89.75% 0.174 116.4)
XYZxyz(59.2570, 74.4737, 19.2342)
Luminance0.7447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EB52 #6652EB
analogous
#EBB352 #D7EB52 #8BEB52
triadic
#D7EB52 #52D7EB #EB52D7
tetradic
#D7EB52 #52EBB3 #6652EB #EB528B
square
#D7EB52 #52EBB3 #6652EB #EB528B
split-complementary
#D7EB52 #528BEB #B352EB
monochromatic
#9AAE14 #CAE51B #D7EB52 #E4F189 #F0F8C0

Accessibility & contrast

On white

1.32
#D7EB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#D7EB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EB52
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EB52#FFFFFF#000000##000000
##D7EB521.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF3D
Deuteranopia (green-blind)
#F9E15D
Tritanopia (blue-blind)
#E4DECC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d7eb52;
/* rgb */ color: rgb(215, 235, 82);
/* oklch */ color: oklch(89.7% 0.174 116.4);
Tailwind
colors: {
  custom: {
    50: '#e7f18a',
    500: '#d7eb52',
    950: '#000000',
  },
}
SCSS
$custom: #d7eb52;
$custom-light: #e7f18a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7eb52",
  "rgb": {
    "r": 215,
    "g": 235,
    "b": 82
  },
  "hsl": {
    "h": 67.843,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89747,
    "c": 0.17425,
    "h": 116.4
  },
  "luminance": 0.74473
}

Semantic roles & 50–950 ramp

primary
#D7EB52
secondary
#4232AF
accent
#0ADC25
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7EB52

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

Preview Lab → · Contrast checker → · Palette generator →

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