#D7E161#D7E161

#D7E161 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.7% C 0.151 H 113.2°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#D7E161
RGBrgb(215, 225, 97)
HSLhsl(65, 68%, 63%)
HSVhsv(65, 57%, 88%)
CMYKcmyk(4.4%, 0%, 56.9%, 11.8%)
CIE-LABlab(86.58, -20.26, 60.14)
CIE-LCHlch(86.58, 63.46, 108.62°)
OKLaboklab(87.73% -0.0597 0.1391)
OKLCHoklch(87.73% 0.151 113.2)
XYZxyz(57.1085, 69.1616, 21.6481)
Luminance0.6916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E161 #6B61E1
analogous
#E1AB61 #D7E161 #97E161
triadic
#D7E161 #61D7E1 #E161D7
tetradic
#D7E161 #61E1AB #6B61E1 #E16197
square
#D7E161 #61E1AB #6B61E1 #E16197
split-complementary
#D7E161 #6197E1 #AB61E1
monochromatic
#9DA820 #CAD72E #D7E161 #E4EB94 #F1F5C8

Accessibility & contrast

On white

1.42
#D7E161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#D7E161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E161
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E161#FFFFFF#000000##000000
##D7E1611.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D753
Deuteranopia (green-blind)
#F0DA69
Tritanopia (blue-blind)
#E4D5C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e161;
/* rgb */ color: rgb(215, 225, 97);
/* oklch */ color: oklch(87.7% 0.151 113.2);
Tailwind
colors: {
  custom: {
    50: '#e6ea92',
    500: '#d7e161',
    950: '#000000',
  },
}
SCSS
$custom: #d7e161;
$custom-light: #e6ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e161",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 97
  },
  "hsl": {
    "h": 64.688,
    "s": 68.085,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87734,
    "c": 0.1514,
    "h": 113.2
  },
  "luminance": 0.69161
}

Semantic roles & 50–950 ramp

primary
#D7E161
secondary
#453CAA
accent
#15D024
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E161

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

Preview Lab → · Contrast checker → · Palette generator →

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