#D2E262#D2E262

#D2E262 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.6% C 0.153 H 115.6°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#D2E262
RGBrgb(210, 226, 98)
HSLhsl(68, 69%, 64%)
HSVhsv(68, 57%, 89%)
CMYKcmyk(7.1%, 0%, 56.6%, 11.4%)
CIE-LABlab(86.49, -22.66, 59.50)
CIE-LCHlch(86.49, 63.67, 110.85°)
OKLaboklab(87.57% -0.0661 0.138)
OKLCHoklch(87.57% 0.153 115.6)
XYZxyz(55.9804, 68.9770, 21.9178)
Luminance0.6898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E262 #7262E2
analogous
#E2B262 #D2E262 #92E262
triadic
#D2E262 #62D2E2 #E262D2
tetradic
#D2E262 #62E2B2 #7262E2 #E26292
square
#D2E262 #62E2B2 #7262E2 #E26292
split-complementary
#D2E262 #6292E2 #B262E2
monochromatic
#99AA1F #C3D82E #D2E262 #E1EC96 #F0F5C9

Accessibility & contrast

On white

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

On black

14.80
#D2E262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E262
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E262#FFFFFF#000000##000000
##D2E2621.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D854
Deuteranopia (green-blind)
#EFDA6A
Tritanopia (blue-blind)
#DED6C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e262;
/* rgb */ color: rgb(210, 226, 98);
/* oklch */ color: oklch(87.6% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#e2eb93',
    500: '#d2e262',
    950: '#000000',
  },
}
SCSS
$custom: #d2e262;
$custom-light: #e2eb93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e262",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 67.5,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87572,
    "c": 0.15297,
    "h": 115.6
  },
  "luminance": 0.68976
}

Semantic roles & 50–950 ramp

primary
#D2E262
secondary
#4A3CAC
accent
#15D12C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E262

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

Preview Lab → · Contrast checker → · Palette generator →

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