#D2E462#D2E462

#D2E462 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.0% C 0.155 H 116.3°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#D2E462
RGBrgb(210, 228, 98)
HSLhsl(68, 71%, 64%)
HSVhsv(68, 57%, 89%)
CMYKcmyk(7.9%, 0%, 57%, 10.6%)
CIE-LABlab(87.03, -23.62, 60.10)
CIE-LCHlch(87.03, 64.58, 111.46°)
OKLaboklab(88% -0.0688 0.1393)
OKLCHoklch(88% 0.155 116.3)
XYZxyz(56.5274, 70.0710, 22.1001)
Luminance0.7007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E462 #7462E4
analogous
#E4B562 #D2E462 #91E462
triadic
#D2E462 #62D2E4 #E462D2
tetradic
#D2E462 #62E4B5 #7462E4 #E46291
square
#D2E462 #62E4B5 #7462E4 #E46291
split-complementary
#D2E462 #6291E4 #B562E4
monochromatic
#9AAE1E #C3DB2E #D2E462 #E1ED96 #F0F6CA

Accessibility & contrast

On white

1.40
#D2E462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#D2E462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E462
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E462#FFFFFF#000000##000000
##D2E4621.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F1DB6A
Tritanopia (blue-blind)
#DED8C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e462;
/* rgb */ color: rgb(210, 228, 98);
/* oklch */ color: oklch(88.0% 0.155 116.3);
Tailwind
colors: {
  custom: {
    50: '#e2ec93',
    500: '#d2e462',
    950: '#000000',
  },
}
SCSS
$custom: #d2e462;
$custom-light: #e2ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e462",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 68.308,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88004,
    "c": 0.15533,
    "h": 116.3
  },
  "luminance": 0.7007
}

Semantic roles & 50–950 ramp

primary
#D2E462
secondary
#4B3BAF
accent
#13D32D
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E462

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

Preview Lab → · Contrast checker → · Palette generator →

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