#D2E956#D2E956

#D2E956 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.0% C 0.171 H 117.6°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#D2E956
RGBrgb(210, 233, 86)
HSLhsl(69, 77%, 63%)
HSVhsv(69, 63%, 91%)
CMYKcmyk(9.9%, 0%, 63.1%, 8.6%)
CIE-LABlab(88.28, -26.86, 66.48)
CIE-LCHlch(88.28, 71.70, 112.00°)
OKLaboklab(88.97% -0.079 0.1513)
OKLCHoklch(88.97% 0.171 117.6)
XYZxyz(57.3981, 72.6519, 19.8018)
Luminance0.7265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E956 #6D56E9
analogous
#E9B756 #D2E956 #88E956
triadic
#D2E956 #56D2E9 #E956D2
tetradic
#D2E956 #56E9B7 #6D56E9 #E95688
square
#D2E956 #56E9B7 #6D56E9 #E95688
split-complementary
#D2E956 #5688E9 #B756E9
monochromatic
#96AE17 #C4E220 #D2E956 #E0F08C #EFF7C2

Accessibility & contrast

On white

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

On black

15.53
#D2E956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E956
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E956#FFFFFF#000000##000000
##D2E9561.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD43
Deuteranopia (green-blind)
#F5DE60
Tritanopia (blue-blind)
#DEDDCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e956;
/* rgb */ color: rgb(210, 233, 86);
/* oklch */ color: oklch(89.0% 0.171 117.6);
Tailwind
colors: {
  custom: {
    50: '#e3f08c',
    500: '#d2e956',
    950: '#000000',
  },
}
SCSS
$custom: #d2e956;
$custom-light: #e3f08c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e956",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 69.388,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88974,
    "c": 0.1707,
    "h": 117.6
  },
  "luminance": 0.72651
}

Semantic roles & 50–950 ramp

primary
#D2E956
secondary
#4834AF
accent
#0CD92C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E956

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

Preview Lab → · Contrast checker → · Palette generator →

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