#D2E261#D2E261

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

Color values

HEX#D2E261
RGBrgb(210, 226, 97)
HSLhsl(67, 69%, 63%)
HSVhsv(67, 57%, 89%)
CMYKcmyk(7.1%, 0%, 57.1%, 11.4%)
CIE-LABlab(86.48, -22.74, 59.92)
CIE-LCHlch(86.48, 64.09, 110.78°)
OKLaboklab(87.56% -0.0664 0.1388)
OKLCHoklch(87.56% 0.154 115.6)
XYZxyz(55.9334, 68.9582, 21.6707)
Luminance0.6896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E261 #7161E2
analogous
#E2B161 #D2E261 #91E261
triadic
#D2E261 #61D2E2 #E261D2
tetradic
#D2E261 #61E2B1 #7161E2 #E26191
square
#D2E261 #61E2B1 #7161E2 #E26191
split-complementary
#D2E261 #6191E2 #B161E2
monochromatic
#98A91F #C3D92D #D2E261 #E1EB95 #EFF5C8

Accessibility & contrast

On white

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

On black

14.79
#D2E261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E261
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E261#FFFFFF#000000##000000
##D2E2611.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e261;
/* rgb */ color: rgb(210, 226, 97);
/* oklch */ color: oklch(87.6% 0.154 115.6);
Tailwind
colors: {
  custom: {
    50: '#e2eb92',
    500: '#d2e261',
    950: '#000000',
  },
}
SCSS
$custom: #d2e261;
$custom-light: #e2eb92;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e261",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 67.442,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87562,
    "c": 0.15383,
    "h": 115.6
  },
  "luminance": 0.68957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2E261

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

Preview Lab → · Contrast checker → · Palette generator →

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