#D7E875#D7E875

#D7E875 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.5% C 0.141 H 116.3°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#D7E875
RGBrgb(215, 232, 117)
HSLhsl(69, 71%, 68%)
HSVhsv(69, 50%, 91%)
CMYKcmyk(7.3%, 0%, 49.6%, 9%)
CIE-LABlab(88.66, -21.98, 53.51)
CIE-LCHlch(88.66, 57.85, 112.33°)
OKLaboklab(89.46% -0.0626 0.1268)
OKLCHoklch(89.46% 0.141 116.3)
XYZxyz(60.0926, 73.4453, 27.8369)
Luminance0.7345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E875 #8675E8
analogous
#E8C075 #D7E875 #9DE875
triadic
#D7E875 #75D7E8 #E875D7
tetradic
#D7E875 #75E8C0 #8675E8 #E8759D
square
#D7E875 #75E8C0 #8675E8 #E8759D
split-complementary
#D7E875 #759DE8 #C075E8
monochromatic
#AAC220 #C8DF41 #D7E875 #E6F1A9 #F5F9DE

Accessibility & contrast

On white

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

On black

15.69
#D7E875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E875
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E875#FFFFFF#000000##000000
##D7E8751.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6B
Deuteranopia (green-blind)
#F4DF7B
Tritanopia (blue-blind)
#E2DDCE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d7e875;
/* rgb */ color: rgb(215, 232, 117);
/* oklch */ color: oklch(89.5% 0.141 116.3);
Tailwind
colors: {
  custom: {
    50: '#e5ef9f',
    500: '#d7e875',
    950: '#000000',
  },
}
SCSS
$custom: #d7e875;
$custom-light: #e5ef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e875",
  "rgb": {
    "r": 215,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 68.87,
    "s": 71.429,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8946,
    "c": 0.14143,
    "h": 116.3
  },
  "luminance": 0.73445
}

Semantic roles & 50–950 ramp

primary
#D7E875
secondary
#5441C0
accent
#12D32F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D7E875

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

Preview Lab → · Contrast checker → · Palette generator →

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