#D4E958#D4E958

#D4E958 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.1% C 0.169 H 116.9°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#D4E958
RGBrgb(212, 233, 88)
HSLhsl(69, 77%, 63%)
HSVhsv(69, 62%, 91%)
CMYKcmyk(9%, 0%, 62.2%, 8.6%)
CIE-LABlab(88.44, -25.94, 65.89)
CIE-LCHlch(88.44, 70.81, 111.49°)
OKLaboklab(89.14% -0.0764 0.1503)
OKLCHoklch(89.14% 0.169 116.9)
XYZxyz(58.0529, 72.9801, 20.2590)
Luminance0.7298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E958 #6D58E9
analogous
#E9B658 #D4E958 #8BE958
triadic
#D4E958 #58D4E9 #E958D4
tetradic
#D4E958 #58E9B6 #6D58E9 #E9588B
square
#D4E958 #58E9B6 #6D58E9 #E9588B
split-complementary
#D4E958 #588BE9 #B658E9
monochromatic
#99AF17 #C6E222 #D4E958 #E2F08E #F0F7C4

Accessibility & contrast

On white

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

On black

15.60
#D4E958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E958
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E958#FFFFFF#000000##000000
##D4E9581.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD46
Deuteranopia (green-blind)
#F6DF62
Tritanopia (blue-blind)
#E0DDCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e958;
/* rgb */ color: rgb(212, 233, 88);
/* oklch */ color: oklch(89.1% 0.169 116.9);
Tailwind
colors: {
  custom: {
    50: '#e4f08d',
    500: '#d4e958',
    950: '#000000',
  },
}
SCSS
$custom: #d4e958;
$custom-light: #e4f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e958",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 68.69,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8914,
    "c": 0.16856,
    "h": 116.9
  },
  "luminance": 0.72979
}

Semantic roles & 50–950 ramp

primary
#D4E958
secondary
#4735B0
accent
#0DD92A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D4E958

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

Preview Lab → · Contrast checker → · Palette generator →

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