#D7E370#D7E370

#D7E370 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.3% C 0.140 H 114.2°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#D7E370
RGBrgb(215, 227, 112)
HSLhsl(66, 67%, 66%)
HSVhsv(66, 51%, 89%)
CMYKcmyk(5.3%, 0%, 50.7%, 11%)
CIE-LABlab(87.27, -20.01, 54.18)
CIE-LCHlch(87.27, 57.76, 110.27°)
OKLaboklab(88.33% -0.0575 0.1278)
OKLCHoklch(88.33% 0.14 114.2)
XYZxyz(58.4190, 70.5560, 25.8673)
Luminance0.7056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E370 #7C70E3
analogous
#E3B670 #D7E370 #9EE370
triadic
#D7E370 #70D7E3 #E370D7
tetradic
#D7E370 #70E3B6 #7C70E3 #E3709E
square
#D7E370 #70E3B6 #7C70E3 #E3709E
split-complementary
#D7E370 #709EE3 #B670E3
monochromatic
#A6B523 #C9D93D #D7E370 #E5EDA3 #F4F7D6

Accessibility & contrast

On white

1.39
#D7E370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#D7E370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E370
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E370#FFFFFF#000000##000000
##D7E3701.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA65
Deuteranopia (green-blind)
#F0DC76
Tritanopia (blue-blind)
#E3D8C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e370;
/* rgb */ color: rgb(215, 227, 112);
/* oklch */ color: oklch(88.3% 0.140 114.2);
Tailwind
colors: {
  custom: {
    50: '#e5eb9c',
    500: '#d7e370',
    950: '#000000',
  },
}
SCSS
$custom: #d7e370;
$custom-light: #e5eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e370",
  "rgb": {
    "r": 215,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 66.261,
    "s": 67.251,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8833,
    "c": 0.14017,
    "h": 114.2
  },
  "luminance": 0.70555
}

Semantic roles & 50–950 ramp

primary
#D7E370
secondary
#4E41B6
accent
#16CF2A
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7E370

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

Preview Lab → · Contrast checker → · Palette generator →

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