#D7ED5A#D7ED5A

#D7ED5A is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.2% C 0.171 H 117.2°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#D7ED5A
RGBrgb(215, 237, 90)
HSLhsl(69, 80%, 64%)
HSVhsv(69, 62%, 93%)
CMYKcmyk(9.3%, 0%, 62%, 7.1%)
CIE-LABlab(89.75, -26.51, 66.54)
CIE-LCHlch(89.75, 71.63, 111.72°)
OKLaboklab(90.25% -0.078 0.1518)
OKLCHoklch(90.25% 0.171 117.2)
XYZxyz(60.1552, 75.7543, 21.1239)
Luminance0.7575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7ED5A #705AED
analogous
#EDBA5A #D7ED5A #8EED5A
triadic
#D7ED5A #5AD7ED #ED5AD7
tetradic
#D7ED5A #5AEDBA #705AED #ED5A8E
square
#D7ED5A #5AEDBA #705AED #ED5A8E
split-complementary
#D7ED5A #5A8EED #BA5AED
monochromatic
#A0B814 #CAE723 #D7ED5A #E4F391 #F2F9C8

Accessibility & contrast

On white

1.30
#D7ED5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#D7ED5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7ED5A
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7ED5A#FFFFFF#000000##000000
##D7ED5A1.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE148
Deuteranopia (green-blind)
#FAE364
Tritanopia (blue-blind)
#E3E1CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d7ed5a;
/* rgb */ color: rgb(215, 237, 90);
/* oklch */ color: oklch(90.2% 0.171 117.2);
Tailwind
colors: {
  custom: {
    50: '#e6f28f',
    500: '#d7ed5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7ed5a;
$custom-light: #e6f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ed5a",
  "rgb": {
    "r": 215,
    "g": 237,
    "b": 90
  },
  "hsl": {
    "h": 68.98,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90247,
    "c": 0.17069,
    "h": 117.2
  },
  "luminance": 0.75754
}

Semantic roles & 50–950 ramp

primary
#D7ED5A
secondary
#4733B8
accent
#09DD29
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D7ED5A

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

Preview Lab → · Contrast checker → · Palette generator →

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