#D4E962#D4E962

#D4E962 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.2% C 0.161 H 117.2°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#D4E962
RGBrgb(212, 233, 98)
HSLhsl(69, 75%, 65%)
HSVhsv(69, 58%, 91%)
CMYKcmyk(9%, 0%, 57.9%, 8.6%)
CIE-LABlab(88.52, -25.23, 61.81)
CIE-LCHlch(88.52, 66.76, 112.20°)
OKLaboklab(89.24% -0.0734 0.1429)
OKLCHoklch(89.24% 0.161 117.2)
XYZxyz(58.4959, 73.1573, 22.5921)
Luminance0.7316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E962 #7762E9
analogous
#E9BA62 #D4E962 #91E962
triadic
#D4E962 #62D4E9 #E962D4
tetradic
#D4E962 #62E9BA #7762E9 #E96291
square
#D4E962 #62E9BA #7762E9 #E96291
split-complementary
#D4E962 #6291E9 #BA62E9
monochromatic
#9EB71A #C5E12C #D4E962 #E3F198 #F1F8CD

Accessibility & contrast

On white

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

On black

15.63
#D4E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E962
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E962#FFFFFF#000000##000000
##D4E9621.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e962;
/* rgb */ color: rgb(212, 233, 98);
/* oklch */ color: oklch(89.2% 0.161 117.2);
Tailwind
colors: {
  custom: {
    50: '#e4f093',
    500: '#d4e962',
    950: '#000000',
  },
}
SCSS
$custom: #d4e962;
$custom-light: #e4f093;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e962",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 69.333,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89235,
    "c": 0.16062,
    "h": 117.2
  },
  "luminance": 0.73157
}

Semantic roles & 50–950 ramp

primary
#D4E962
secondary
#4C38B7
accent
#0ED82D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4E962

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

Preview Lab → · Contrast checker → · Palette generator →

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