#D7E170#D7E170

#D7E170 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 87.9% C 0.138 H 113.4°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#D7E170
RGBrgb(215, 225, 112)
HSLhsl(65, 65%, 66%)
HSVhsv(65, 50%, 88%)
CMYKcmyk(4.4%, 0%, 50.2%, 11.8%)
CIE-LABlab(86.74, -19.03, 53.55)
CIE-LCHlch(86.74, 56.83, 109.56°)
OKLaboklab(87.9% -0.0547 0.1265)
OKLCHoklch(87.9% 0.138 113.4)
XYZxyz(57.8752, 69.4683, 25.6860)
Luminance0.6947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E170 #7A70E1
analogous
#E1B270 #D7E170 #9EE170
triadic
#D7E170 #70D7E1 #E170D7
tetradic
#D7E170 #70E1B2 #7A70E1 #E1709E
square
#D7E170 #70E1B2 #7A70E1 #E1709E
split-complementary
#D7E170 #709EE1 #B270E1
monochromatic
#A5B125 #C9D63D #D7E170 #E5ECA3 #F3F6D5

Accessibility & contrast

On white

1.41
#D7E170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#D7E170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E170
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E170#FFFFFF#000000##000000
##D7E1701.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD866
Deuteranopia (green-blind)
#EFDA76
Tritanopia (blue-blind)
#E3D6C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e170;
/* rgb */ color: rgb(215, 225, 112);
/* oklch */ color: oklch(87.9% 0.138 113.4);
Tailwind
colors: {
  custom: {
    50: '#e5ea9c',
    500: '#d7e170',
    950: '#000000',
  },
}
SCSS
$custom: #d7e170;
$custom-light: #e5ea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e170",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 112
  },
  "hsl": {
    "h": 65.31,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87904,
    "c": 0.1378,
    "h": 113.4
  },
  "luminance": 0.69467
}

Semantic roles & 50–950 ramp

primary
#D7E170
secondary
#4C43B3
accent
#18CD28
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7E170

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

Preview Lab → · Contrast checker → · Palette generator →

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