#D7E652#D7E652

#D7E652 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 88.7% C 0.169 H 114.8°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#D7E652
RGBrgb(215, 230, 82)
HSLhsl(66, 75%, 61%)
HSVhsv(66, 64%, 90%)
CMYKcmyk(6.5%, 0%, 64.3%, 9.8%)
CIE-LABlab(87.80, -23.69, 67.67)
CIE-LCHlch(87.80, 71.70, 109.30°)
OKLaboklab(88.67% -0.0709 0.1531)
OKLCHoklch(88.67% 0.169 114.8)
XYZxyz(57.8456, 71.6509, 18.7638)
Luminance0.7165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E652 #6152E6
analogous
#E6AB52 #D7E652 #8DE652
triadic
#D7E652 #52D7E6 #E652D7
tetradic
#D7E652 #52E6AB #6152E6 #E6528D
square
#D7E652 #52E6AB #6152E6 #E6528D
split-complementary
#D7E652 #528DE6 #AB52E6
monochromatic
#97A618 #C8DB20 #D7E652 #E3EE87 #F0F5BD

Accessibility & contrast

On white

1.37
#D7E652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#D7E652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E652
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E652#FFFFFF#000000##000000
##D7E6521.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F5DD5C
Tritanopia (blue-blind)
#E4D9C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d7e652;
/* rgb */ color: rgb(215, 230, 82);
/* oklch */ color: oklch(88.7% 0.169 114.8);
Tailwind
colors: {
  custom: {
    50: '#e6ed8a',
    500: '#d7e652',
    950: '#000000',
  },
}
SCSS
$custom: #d7e652;
$custom-light: #e6ed8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e652",
  "rgb": {
    "r": 215,
    "g": 230,
    "b": 82
  },
  "hsl": {
    "h": 66.081,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88668,
    "c": 0.16872,
    "h": 114.8
  },
  "luminance": 0.7165
}

Semantic roles & 50–950 ramp

primary
#D7E652
secondary
#4034A8
accent
#0FD723
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7E652

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

Preview Lab → · Contrast checker → · Palette generator →

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