#D7E152#D7E152

#D7E152 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.6% C 0.163 H 113.1°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#D7E152
RGBrgb(215, 225, 82)
HSLhsl(64, 70%, 60%)
HSVhsv(64, 64%, 88%)
CMYKcmyk(4.4%, 0%, 63.6%, 11.8%)
CIE-LABlab(86.46, -21.29, 66.27)
CIE-LCHlch(86.46, 69.60, 107.81°)
OKLaboklab(87.59% -0.0641 0.1502)
OKLCHoklch(87.59% 0.163 113.1)
XYZxyz(56.4740, 68.9078, 18.3066)
Luminance0.6891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E152 #5C52E1
analogous
#E1A452 #D7E152 #8FE152
triadic
#D7E152 #52D7E1 #E152D7
tetradic
#D7E152 #52E1A4 #5C52E1 #E1528F
square
#D7E152 #52E1A4 #5C52E1 #E1528F
split-complementary
#D7E152 #528FE1 #A452E1
monochromatic
#949D1B #C5D124 #D7E152 #E3EA86 #EFF3BA

Accessibility & contrast

On white

1.42
#D7E152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#D7E152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E152
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E152#FFFFFF#000000##000000
##D7E1521.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#E5D4C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d7e152;
/* rgb */ color: rgb(215, 225, 82);
/* oklch */ color: oklch(87.6% 0.163 113.1);
Tailwind
colors: {
  custom: {
    50: '#e6ea89',
    500: '#d7e152',
    950: '#000000',
  },
}
SCSS
$custom: #d7e152;
$custom-light: #e6ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e152",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 64.196,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87593,
    "c": 0.16327,
    "h": 113.1
  },
  "luminance": 0.68907
}

Semantic roles & 50–950 ramp

primary
#D7E152
secondary
#3E37A1
accent
#13D220
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E152

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

Preview Lab → · Contrast checker → · Palette generator →

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