#D7E77B#D7E77B

#D7E77B is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.3% C 0.134 H 116.1°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#D7E77B
RGBrgb(215, 231, 123)
HSLhsl(69, 69%, 69%)
HSVhsv(69, 47%, 91%)
CMYKcmyk(6.9%, 0%, 46.8%, 9.4%)
CIE-LABlab(88.46, -20.93, 50.46)
CIE-LCHlch(88.46, 54.63, 112.53°)
OKLaboklab(89.32% -0.0591 0.1206)
OKLCHoklch(89.32% 0.134 116.1)
XYZxyz(60.1761, 73.0296, 29.6611)
Luminance0.7303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E77B #8B7BE7
analogous
#E7C17B #D7E77B #A1E77B
triadic
#D7E77B #7BD7E7 #E77BD7
tetradic
#D7E77B #7BE7C1 #8B7BE7 #E77BA1
square
#D7E77B #7BE7C1 #8B7BE7 #E77BA1
split-complementary
#D7E77B #7BA1E7 #C17BE7
monochromatic
#ACC424 #C7DE47 #D7E77B #E7F0AF #F6FAE3

Accessibility & contrast

On white

1.35
#D7E77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#D7E77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E77B
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E77B#FFFFFF#000000##000000
##D7E77B1.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD72
Deuteranopia (green-blind)
#F3DF81
Tritanopia (blue-blind)
#E1DDCE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e77b;
/* rgb */ color: rgb(215, 231, 123);
/* oklch */ color: oklch(89.3% 0.134 116.1);
Tailwind
colors: {
  custom: {
    50: '#e5eea3',
    500: '#d7e77b',
    950: '#000000',
  },
}
SCSS
$custom: #d7e77b;
$custom-light: #e5eea3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e77b",
  "rgb": {
    "r": 215,
    "g": 231,
    "b": 123
  },
  "hsl": {
    "h": 68.889,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89324,
    "c": 0.13427,
    "h": 116.1
  },
  "luminance": 0.73029
}

Semantic roles & 50–950 ramp

primary
#D7E77B
secondary
#5947BF
accent
#14D130
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D7E77B

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

Preview Lab → · Contrast checker → · Palette generator →

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