#D2E056#D2E056

#D2E056 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.0% C 0.160 H 114.7°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#D2E056
RGBrgb(210, 224, 86)
HSLhsl(66, 69%, 61%)
HSVhsv(66, 62%, 88%)
CMYKcmyk(6.3%, 0%, 61.6%, 12.2%)
CIE-LABlab(85.85, -22.56, 63.89)
CIE-LCHlch(85.85, 67.76, 109.45°)
OKLaboklab(87.02% -0.067 0.1458)
OKLCHoklch(87.02% 0.16 114.7)
XYZxyz(54.9150, 67.6857, 18.9741)
Luminance0.6768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E056 #6456E0
analogous
#E0A956 #D2E056 #8DE056
triadic
#D2E056 #56D2E0 #E056D2
tetradic
#D2E056 #56E0A9 #6456E0 #E0568D
square
#D2E056 #56E0A9 #6456E0 #E0568D
split-complementary
#D2E056 #568DE0 #A956E0
monochromatic
#919F1D #C1D227 #D2E056 #E0E98A #EEF3BD

Accessibility & contrast

On white

1.44
#D2E056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#D2E056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E056
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E056#FFFFFF#000000##000000
##D2E0561.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD645
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#DFD4C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e056;
/* rgb */ color: rgb(210, 224, 86);
/* oklch */ color: oklch(87.0% 0.160 114.7);
Tailwind
colors: {
  custom: {
    50: '#e3e98b',
    500: '#d2e056',
    950: '#000000',
  },
}
SCSS
$custom: #d2e056;
$custom-light: #e3e98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e056",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 86
  },
  "hsl": {
    "h": 66.087,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87023,
    "c": 0.16048,
    "h": 114.7
  },
  "luminance": 0.67685
}

Semantic roles & 50–950 ramp

primary
#D2E056
secondary
#4338A2
accent
#15D128
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E056

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

Preview Lab → · Contrast checker → · Palette generator →

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