#D7EB5A#D7EB5A

#D7EB5A is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 89.8% C 0.168 H 116.6°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#D7EB5A
RGBrgb(215, 235, 90)
HSLhsl(68, 78%, 64%)
HSVhsv(68, 62%, 92%)
CMYKcmyk(8.5%, 0%, 61.7%, 7.8%)
CIE-LABlab(89.21, -25.56, 65.96)
CIE-LCHlch(89.21, 70.74, 111.18°)
OKLaboklab(89.82% -0.0753 0.1506)
OKLCHoklch(89.82% 0.168 116.6)
XYZxyz(59.5793, 74.6026, 20.9320)
Luminance0.7460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EB5A #6E5AEB
analogous
#EBB65A #D7EB5A #8EEB5A
triadic
#D7EB5A #5AD7EB #EB5AD7
tetradic
#D7EB5A #5AEBB6 #6E5AEB #EB5A8E
square
#D7EB5A #5AEBB6 #6E5AEB #EB5A8E
split-complementary
#D7EB5A #5A8EEB #B65AEB
monochromatic
#9FB516 #CAE423 #D7EB5A #E4F291 #F1F8C7

Accessibility & contrast

On white

1.32
#D7EB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#D7EB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7EB5A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7EB5A#FFFFFF#000000##000000
##D7EB5A1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF48
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#E3DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d7eb5a;
/* rgb */ color: rgb(215, 235, 90);
/* oklch */ color: oklch(89.8% 0.168 116.6);
Tailwind
colors: {
  custom: {
    50: '#e6f18f',
    500: '#d7eb5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7eb5a;
$custom-light: #e6f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7eb5a",
  "rgb": {
    "r": 215,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 68.276,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89815,
    "c": 0.1684,
    "h": 116.6
  },
  "luminance": 0.74602
}

Semantic roles & 50–950 ramp

primary
#D7EB5A
secondary
#4635B5
accent
#0BDB28
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D7EB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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