#D2E862#D2E862

#D2E862 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 88.9% C 0.160 H 117.6°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#D2E862
RGBrgb(210, 232, 98)
HSLhsl(70, 74%, 65%)
HSVhsv(70, 58%, 91%)
CMYKcmyk(9.5%, 0%, 57.8%, 9%)
CIE-LABlab(88.11, -25.54, 61.31)
CIE-LCHlch(88.11, 66.42, 112.61°)
OKLaboklab(88.87% -0.0742 0.1418)
OKLCHoklch(88.87% 0.16 117.6)
XYZxyz(57.6405, 72.2972, 22.4712)
Luminance0.7230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E862 #7862E8
analogous
#E8BB62 #D2E862 #8FE862
triadic
#D2E862 #62D2E8 #E862D2
tetradic
#D2E862 #62E8BB #7862E8 #E8628F
square
#D2E862 #62E8BB #7862E8 #E8628F
split-complementary
#D2E862 #628FE8 #BB62E8
monochromatic
#9CB51B #C3E02D #D2E862 #E1F097 #F1F8CD

Accessibility & contrast

On white

1.36
#D2E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#D2E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E862
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E862#FFFFFF#000000##000000
##D2E8621.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD53
Deuteranopia (green-blind)
#F4DE6A
Tritanopia (blue-blind)
#DDDCCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e862;
/* rgb */ color: rgb(210, 232, 98);
/* oklch */ color: oklch(88.9% 0.160 117.6);
Tailwind
colors: {
  custom: {
    50: '#e2ef93',
    500: '#d2e862',
    950: '#000000',
  },
}
SCSS
$custom: #d2e862;
$custom-light: #e2ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e862",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 69.851,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8887,
    "c": 0.16006,
    "h": 117.6
  },
  "luminance": 0.72297
}

Semantic roles & 50–950 ramp

primary
#D2E862
secondary
#4D39B5
accent
#0FD730
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E862

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

Preview Lab → · Contrast checker → · Palette generator →

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