#D7E952#D7E952

#D7E952 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.3% C 0.172 H 115.8°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#D7E952
RGBrgb(215, 233, 82)
HSLhsl(67, 77%, 62%)
HSVhsv(67, 65%, 91%)
CMYKcmyk(7.7%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.61, -25.13, 68.51)
CIE-LCHlch(88.61, 72.97, 110.14°)
OKLaboklab(89.32% -0.0749 0.1549)
OKLCHoklch(89.32% 0.172 115.8)
XYZxyz(58.6876, 73.3349, 19.0444)
Luminance0.7333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E952 #6452E9
analogous
#E9AF52 #D7E952 #8CE952
triadic
#D7E952 #52D7E9 #E952D7
tetradic
#D7E952 #52E9AF #6452E9 #E9528C
square
#D7E952 #52E9AF #6452E9 #E9528C
split-complementary
#D7E952 #528CE9 #AF52E9
monochromatic
#99AB16 #CAE11D #D7E952 #E4F088 #F0F7BF

Accessibility & contrast

On white

1.34
#D7E952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#D7E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E952
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E952#FFFFFF#000000##000000
##D7E9521.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3D
Deuteranopia (green-blind)
#F7E05D
Tritanopia (blue-blind)
#E4DCCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e952;
/* rgb */ color: rgb(215, 233, 82);
/* oklch */ color: oklch(89.3% 0.172 115.8);
Tailwind
colors: {
  custom: {
    50: '#e6ef8a',
    500: '#d7e952',
    950: '#000000',
  },
}
SCSS
$custom: #d7e952;
$custom-light: #e6ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e952",
  "rgb": {
    "r": 215,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 67.152,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89315,
    "c": 0.17204,
    "h": 115.8
  },
  "luminance": 0.73334
}

Semantic roles & 50–950 ramp

primary
#D7E952
secondary
#4233AC
accent
#0CDA24
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7E952

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

Preview Lab → · Contrast checker → · Palette generator →

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