#D7EA5B#D7EA5B

#D7EA5B is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 89.6% C 0.166 H 116.3°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#D7EA5B
RGBrgb(215, 234, 91)
HSLhsl(68, 77%, 64%)
HSVhsv(68, 61%, 92%)
CMYKcmyk(8.1%, 0%, 61.1%, 8.2%)
CIE-LABlab(88.95, -25.02, 65.27)
CIE-LCHlch(88.95, 69.90, 110.97°)
OKLaboklab(89.61% -0.0737 0.1493)
OKLCHoklch(89.61% 0.166 116.3)
XYZxyz(59.3367, 74.0488, 21.0625)
Luminance0.7405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EA5B #6E5BEA
analogous
#EAB55B #D7EA5B #8FEA5B
triadic
#D7EA5B #5BD7EA #EA5BD7
tetradic
#D7EA5B #5BEAB5 #6E5BEA #EA5B8F
square
#D7EA5B #5BEAB5 #6E5BEA #EA5B8F
split-complementary
#D7EA5B #5B8FEA #B55BEA
monochromatic
#9FB417 #CAE325 #D7EA5B #E4F191 #F1F8C8

Accessibility & contrast

On white

1.33
#D7EA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#D7EA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EA5B
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EA5B#FFFFFF#000000##000000
##D7EA5B1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4A
Deuteranopia (green-blind)
#F7E064
Tritanopia (blue-blind)
#E3DECC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d7ea5b;
/* rgb */ color: rgb(215, 234, 91);
/* oklch */ color: oklch(89.6% 0.166 116.3);
Tailwind
colors: {
  custom: {
    50: '#e6f08f',
    500: '#d7ea5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7ea5b;
$custom-light: #e6f08f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ea5b",
  "rgb": {
    "r": 215,
    "g": 234,
    "b": 91
  },
  "hsl": {
    "h": 67.972,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89608,
    "c": 0.16649,
    "h": 116.3
  },
  "luminance": 0.74048
}

Semantic roles & 50–950 ramp

primary
#D7EA5B
secondary
#4636B4
accent
#0CDA27
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D7EA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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