#D7E37A#D7E37A

#D7E37A is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.5% C 0.130 H 114.5°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#D7E37A
RGBrgb(215, 227, 122)
HSLhsl(67, 65%, 68%)
HSVhsv(67, 46%, 89%)
CMYKcmyk(5.3%, 0%, 46.3%, 11%)
CIE-LABlab(87.38, -19.08, 49.62)
CIE-LCHlch(87.38, 53.16, 111.03°)
OKLaboklab(88.46% -0.054 0.1186)
OKLCHoklch(88.46% 0.13 114.5)
XYZxyz(59.0070, 70.7912, 28.9642)
Luminance0.7079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E37A #867AE3
analogous
#E3BA7A #D7E37A #A2E37A
triadic
#D7E37A #7AD7E3 #E37AD7
tetradic
#D7E37A #7AE3BA #867AE3 #E37AA2
square
#D7E37A #7AE3BA #867AE3 #E37AA2
split-complementary
#D7E37A #7AA2E3 #BA7AE3
monochromatic
#AABB27 #C8D847 #D7E37A #E6EEAD #F5F8DF

Accessibility & contrast

On white

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

On black

15.16
#D7E37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E37A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E37A#FFFFFF#000000##000000
##D7E37A1.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA71
Deuteranopia (green-blind)
#EFDC7F
Tritanopia (blue-blind)
#E2D9CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e37a;
/* rgb */ color: rgb(215, 227, 122);
/* oklch */ color: oklch(88.5% 0.130 114.5);
Tailwind
colors: {
  custom: {
    50: '#e5eba2',
    500: '#d7e37a',
    950: '#000000',
  },
}
SCSS
$custom: #d7e37a;
$custom-light: #e5eba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e37a",
  "rgb": {
    "r": 215,
    "g": 227,
    "b": 122
  },
  "hsl": {
    "h": 66.857,
    "s": 65.217,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88459,
    "c": 0.13033,
    "h": 114.5
  },
  "luminance": 0.7079
}

Semantic roles & 50–950 ramp

primary
#D7E37A
secondary
#5447BA
accent
#18CD2D
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D7E37A

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

Preview Lab → · Contrast checker → · Palette generator →

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