#D2E241#D2E241

#D2E241 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.3% C 0.177 H 115.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#D2E241
RGBrgb(210, 226, 65)
HSLhsl(66, 74%, 57%)
HSVhsv(66, 71%, 89%)
CMYKcmyk(7.1%, 0%, 71.2%, 11.4%)
CIE-LABlab(86.24, -24.73, 72.23)
CIE-LCHlch(86.24, 76.35, 108.90°)
OKLaboklab(87.29% -0.0751 0.1602)
OKLCHoklch(87.29% 0.177 115.1)
XYZxyz(54.7303, 68.4769, 15.3342)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E241 #5141E2
analogous
#E2A241 #D2E241 #81E241
triadic
#D2E241 #41D2E2 #E241D2
tetradic
#D2E241 #41E2A2 #5141E2 #E24181
square
#D2E241 #41E2A2 #5141E2 #E24181
split-complementary
#D2E241 #4181E2 #A241E2
monochromatic
#869216 #B7C71E #D2E241 #DFEA76 #EBF2AB

Accessibility & contrast

On white

1.43
#D2E241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#D2E241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E241
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E241#FFFFFF#000000##000000
##D2E2411.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D723
Deuteranopia (green-blind)
#F1D94E
Tritanopia (blue-blind)
#DFD5C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e241;
/* rgb */ color: rgb(210, 226, 65);
/* oklch */ color: oklch(87.3% 0.177 115.1);
Tailwind
colors: {
  custom: {
    50: '#e3eb80',
    500: '#d2e241',
    950: '#000000',
  },
}
SCSS
$custom: #d2e241;
$custom-light: #e3eb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e241",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 65
  },
  "hsl": {
    "h": 65.963,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.87294,
    "c": 0.17693,
    "h": 115.1
  },
  "luminance": 0.68476
}

Semantic roles & 50–950 ramp

primary
#D2E241
secondary
#3B3097
accent
#38F04A
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E241

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

Preview Lab → · Contrast checker → · Palette generator →

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