#D2E562#D2E562

#D2E562 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.2% C 0.157 H 116.6°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#D2E562
RGBrgb(210, 229, 98)
HSLhsl(69, 72%, 64%)
HSVhsv(69, 57%, 90%)
CMYKcmyk(8.3%, 0%, 57.2%, 10.2%)
CIE-LABlab(87.30, -24.10, 60.41)
CIE-LCHlch(87.30, 65.04, 111.75°)
OKLaboklab(88.22% -0.0701 0.1399)
OKLCHoklch(88.22% 0.157 116.6)
XYZxyz(56.8033, 70.6228, 22.1921)
Luminance0.7062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E562 #7562E5
analogous
#E5B762 #D2E562 #91E562
triadic
#D2E562 #62D2E5 #E562D2
tetradic
#D2E562 #62E5B7 #7562E5 #E56291
square
#D2E562 #62E5B7 #7562E5 #E56291
split-complementary
#D2E562 #6291E5 #B762E5
monochromatic
#9AB01D #C3DC2D #D2E562 #E1EE97 #F0F6CB

Accessibility & contrast

On white

1.39
#D2E562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#D2E562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E562
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E562#FFFFFF#000000##000000
##D2E5621.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F1DC6A
Tritanopia (blue-blind)
#DED9C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d2e562;
/* rgb */ color: rgb(210, 229, 98);
/* oklch */ color: oklch(88.2% 0.157 116.6);
Tailwind
colors: {
  custom: {
    50: '#e2ed93',
    500: '#d2e562',
    950: '#000000',
  },
}
SCSS
$custom: #d2e562;
$custom-light: #e2ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e562",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 68.702,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8822,
    "c": 0.1565,
    "h": 116.6
  },
  "luminance": 0.70622
}

Semantic roles & 50–950 ramp

primary
#D2E562
secondary
#4C3BB1
accent
#12D42E
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E562

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

Preview Lab → · Contrast checker → · Palette generator →

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