#D2EA56#D2EA56

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

Color values

HEX#D2EA56
RGBrgb(210, 234, 86)
HSLhsl(70, 78%, 63%)
HSVhsv(70, 63%, 92%)
CMYKcmyk(10.3%, 0%, 63.2%, 8.2%)
CIE-LABlab(88.55, -27.34, 66.77)
CIE-LCHlch(88.55, 72.15, 112.26°)
OKLaboklab(89.19% -0.0804 0.1519)
OKLCHoklch(89.19% 0.172 117.9)
XYZxyz(57.6820, 73.2197, 19.8964)
Luminance0.7322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EA56 #6E56EA
analogous
#EAB856 #D2EA56 #88EA56
triadic
#D2EA56 #56D2EA #EA56D2
tetradic
#D2EA56 #56EAB8 #6E56EA #EA5688
square
#D2EA56 #56EAB8 #6E56EA #EA5688
split-complementary
#D2EA56 #5688EA #B856EA
monochromatic
#97B016 #C4E320 #D2EA56 #E0F18C #EFF8C3

Accessibility & contrast

On white

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

On black

15.64
#D2EA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EA56
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EA56#FFFFFF#000000##000000
##D2EA561.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE43
Deuteranopia (green-blind)
#F6DF60
Tritanopia (blue-blind)
#DEDECB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2ea56;
/* rgb */ color: rgb(210, 234, 86);
/* oklch */ color: oklch(89.2% 0.172 117.9);
Tailwind
colors: {
  custom: {
    50: '#e3f08c',
    500: '#d2ea56',
    950: '#000000',
  },
}
SCSS
$custom: #d2ea56;
$custom-light: #e3f08c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ea56",
  "rgb": {
    "r": 210,
    "g": 234,
    "b": 86
  },
  "hsl": {
    "h": 69.73,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.89191,
    "c": 0.17185,
    "h": 117.9
  },
  "luminance": 0.73219
}

Semantic roles & 50–950 ramp

primary
#D2EA56
secondary
#4834B0
accent
#0BDA2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EA56

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

Preview Lab → · Contrast checker → · Palette generator →

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