#D2F262#D2F262

#D2F262 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.0% C 0.172 H 120.5°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#D2F262
RGBrgb(210, 242, 98)
HSLhsl(73, 85%, 67%)
HSVhsv(73, 60%, 95%)
CMYKcmyk(13.2%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.82, -30.24, 64.31)
CIE-LCHlch(90.82, 71.07, 115.18°)
OKLaboklab(91.05% -0.0873 0.1482)
OKLCHoklch(91.05% 0.172 120.5)
XYZxyz(60.5358, 78.0879, 23.4363)
Luminance0.7809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F262 #8262F2
analogous
#F2CA62 #D2F262 #8AF262
triadic
#D2F262 #62D2F2 #F262D2
tetradic
#D2F262 #62F2CA #8262F2 #F2628A
square
#D2F262 #62F2CA #8262F2 #F2628A
split-complementary
#D2F262 #628AF2 #CA62F2
monochromatic
#A0C911 #C2ED29 #D2F262 #E2F79B #F2FBD3

Accessibility & contrast

On white

1.26
#D2F262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#D2F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F262
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F262#FFFFFF#000000##000000
##D2F2621.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE551
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#DCE6D3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d2f262;
/* rgb */ color: rgb(210, 242, 98);
/* oklch */ color: oklch(91.0% 0.172 120.5);
Tailwind
colors: {
  custom: {
    50: '#e3f694',
    500: '#d2f262',
    950: '#000000',
  },
}
SCSS
$custom: #d2f262;
$custom-light: #e3f694;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f262",
  "rgb": {
    "r": 210,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 73.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91045,
    "c": 0.17204,
    "h": 120.5
  },
  "luminance": 0.78088
}

Semantic roles & 50–950 ramp

primary
#D2F262
secondary
#5333C6
accent
#04E135
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D2F262

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

Preview Lab → · Contrast checker → · Palette generator →

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