#D7EB5B#D7EB5B

#D7EB5B 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#D7EB5B
RGBrgb(215, 235, 91)
HSLhsl(68, 78%, 64%)
HSVhsv(68, 61%, 92%)
CMYKcmyk(8.5%, 0%, 61.3%, 7.8%)
CIE-LABlab(89.21, -25.50, 65.56)
CIE-LCHlch(89.21, 70.35, 111.25°)
OKLaboklab(89.82% -0.075 0.1499)
OKLCHoklch(89.82% 0.168 116.6)
XYZxyz(59.6222, 74.6198, 21.1577)
Luminance0.7462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7EB5B #6F5BEB
analogous
#EBB75B #D7EB5B #8FEB5B
triadic
#D7EB5B #5BD7EB #EB5BD7
tetradic
#D7EB5B #5BEBB7 #6F5BEB #EB5B8F
square
#D7EB5B #5BEBB7 #6F5BEB #EB5B8F
split-complementary
#D7EB5B #5B8FEB #B75BEB
monochromatic
#9FB516 #CAE424 #D7EB5B #E4F292 #F2F8C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7EB5B#FFFFFF#000000##000000
##D7EB5B1.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)
#FADF49
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#E3DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d7eb5b;
/* rgb */ color: rgb(215, 235, 91);
/* oklch */ color: oklch(89.8% 0.168 116.6);
Tailwind
colors: {
  custom: {
    50: '#e6f18f',
    500: '#d7eb5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7eb5b;
$custom-light: #e6f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7eb5b",
  "rgb": {
    "r": 215,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 68.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89824,
    "c": 0.16764,
    "h": 116.6
  },
  "luminance": 0.74619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7EB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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