#D5E162#D5E162

#D5E162 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.6% C 0.151 H 114.0°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#D5E162
RGBrgb(213, 225, 98)
HSLhsl(66, 68%, 63%)
HSVhsv(66, 56%, 88%)
CMYKcmyk(5.3%, 0%, 56.4%, 11.8%)
CIE-LABlab(86.44, -20.98, 59.50)
CIE-LCHlch(86.44, 63.10, 109.42°)
OKLaboklab(87.59% -0.0615 0.1379)
OKLCHoklch(87.59% 0.151 114)
XYZxyz(56.5716, 68.8793, 21.8678)
Luminance0.6888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E162 #6E62E1
analogous
#E1AD62 #D5E162 #95E162
triadic
#D5E162 #62D5E1 #E162D5
tetradic
#D5E162 #62E1AD #6E62E1 #E16295
square
#D5E162 #62E1AD #6E62E1 #E16295
split-complementary
#D5E162 #6295E1 #AD62E1
monochromatic
#9CA820 #C7D72F #D5E162 #E3EB95 #F0F5C9

Accessibility & contrast

On white

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

On black

14.78
#D5E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E162
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E162#FFFFFF#000000##000000
##D5E1621.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D754
Deuteranopia (green-blind)
#EFDA6A
Tritanopia (blue-blind)
#E1D5C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d5e162;
/* rgb */ color: rgb(213, 225, 98);
/* oklch */ color: oklch(87.6% 0.151 114.0);
Tailwind
colors: {
  custom: {
    50: '#e4ea93',
    500: '#d5e162',
    950: '#000000',
  },
}
SCSS
$custom: #d5e162;
$custom-light: #e4ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e162",
  "rgb": {
    "r": 213,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 65.669,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87588,
    "c": 0.15102,
    "h": 114
  },
  "luminance": 0.68878
}

Semantic roles & 50–950 ramp

primary
#D5E162
secondary
#473DAB
accent
#16D027
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D5E162

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

Preview Lab → · Contrast checker → · Palette generator →

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