#D2E256#D2E256

#D2E256 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.5% C 0.163 H 115.4°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#D2E256
RGBrgb(210, 226, 86)
HSLhsl(67, 71%, 61%)
HSVhsv(67, 62%, 89%)
CMYKcmyk(7.1%, 0%, 61.9%, 11.4%)
CIE-LABlab(86.39, -23.53, 64.47)
CIE-LCHlch(86.39, 68.63, 110.05°)
OKLaboklab(87.46% -0.0697 0.147)
OKLCHoklch(87.46% 0.163 115.4)
XYZxyz(55.4556, 68.7671, 19.1543)
Luminance0.6877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E256 #6656E2
analogous
#E2AC56 #D2E256 #8CE256
triadic
#D2E256 #56D2E2 #E256D2
tetradic
#D2E256 #56E2AC #6656E2 #E2568C
square
#D2E256 #56E2AC #6656E2 #E2568C
split-complementary
#D2E256 #568CE2 #AC56E2
monochromatic
#93A21C #C2D625 #D2E256 #E0EB8A #EEF4BE

Accessibility & contrast

On white

1.42
#D2E256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#D2E256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E256
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E256#FFFFFF#000000##000000
##D2E2561.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D745
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#DED6C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e256;
/* rgb */ color: rgb(210, 226, 86);
/* oklch */ color: oklch(87.5% 0.163 115.4);
Tailwind
colors: {
  custom: {
    50: '#e3eb8c',
    500: '#d2e256',
    950: '#000000',
  },
}
SCSS
$custom: #d2e256;
$custom-light: #e3eb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e256",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 86
  },
  "hsl": {
    "h": 66.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87455,
    "c": 0.16273,
    "h": 115.4
  },
  "luminance": 0.68766
}

Semantic roles & 50–950 ramp

primary
#D2E256
secondary
#4438A5
accent
#13D329
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E256

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

Preview Lab → · Contrast checker → · Palette generator →

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