#D5E962#D5E962

#D5E962 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.3% C 0.160 H 116.8°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#D5E962
RGBrgb(213, 233, 98)
HSLhsl(69, 75%, 65%)
HSVhsv(69, 58%, 91%)
CMYKcmyk(8.6%, 0%, 57.9%, 8.6%)
CIE-LABlab(88.59, -24.83, 61.91)
CIE-LCHlch(88.59, 66.70, 111.86°)
OKLaboklab(89.31% -0.0724 0.1431)
OKLCHoklch(89.31% 0.16 116.8)
XYZxyz(58.7851, 73.3065, 22.6057)
Luminance0.7331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E962 #7662E9
analogous
#E9BA62 #D5E962 #91E962
triadic
#D5E962 #62D5E9 #E962D5
tetradic
#D5E962 #62E9BA #7662E9 #E96291
square
#D5E962 #62E9BA #7662E9 #E96291
split-complementary
#D5E962 #6291E9 #BA62E9
monochromatic
#A0B71A #C7E12C #D5E962 #E3F198 #F2F8CD

Accessibility & contrast

On white

1.34
#D5E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#D5E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E962
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E962#FFFFFF#000000##000000
##D5E9621.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE53
Deuteranopia (green-blind)
#F6DF6A
Tritanopia (blue-blind)
#E1DDCC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d5e962;
/* rgb */ color: rgb(213, 233, 98);
/* oklch */ color: oklch(89.3% 0.160 116.8);
Tailwind
colors: {
  custom: {
    50: '#e4f093',
    500: '#d5e962',
    950: '#000000',
  },
}
SCSS
$custom: #d5e962;
$custom-light: #e4f093;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e962",
  "rgb": {
    "r": 213,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 68.889,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8931,
    "c": 0.16031,
    "h": 116.8
  },
  "luminance": 0.73306
}

Semantic roles & 50–950 ramp

primary
#D5E962
secondary
#4B38B7
accent
#0ED82C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D5E962

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

Preview Lab → · Contrast checker → · Palette generator →

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