#D2E245#D2E245

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

Color values

HEX#D2E245
RGBrgb(210, 226, 69)
HSLhsl(66, 73%, 58%)
HSVhsv(66, 69%, 89%)
CMYKcmyk(7.1%, 0%, 69.5%, 11.4%)
CIE-LABlab(86.27, -24.53, 70.86)
CIE-LCHlch(86.27, 74.99, 109.10°)
OKLaboklab(87.32% -0.0741 0.158)
OKLCHoklch(87.32% 0.175 115.1)
XYZxyz(54.8503, 68.5249, 15.9663)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E245 #5545E2
analogous
#E2A445 #D2E245 #83E245
triadic
#D2E245 #45D2E2 #E245D2
tetradic
#D2E245 #45E2A4 #5545E2 #E24583
square
#D2E245 #45E2A4 #5545E2 #E24583
split-complementary
#D2E245 #4583E2 #A445E2
monochromatic
#889517 #B9CA20 #D2E245 #DFEA7A #ECF3AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E245#FFFFFF#000000##000000
##D2E2451.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)
#F2D72A
Deuteranopia (green-blind)
#F1D951
Tritanopia (blue-blind)
#DFD5C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e245;
/* rgb */ color: rgb(210, 226, 69);
/* oklch */ color: oklch(87.3% 0.175 115.1);
Tailwind
colors: {
  custom: {
    50: '#e3eb82',
    500: '#d2e245',
    950: '#000000',
  },
}
SCSS
$custom: #d2e245;
$custom-light: #e3eb82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e245",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 69
  },
  "hsl": {
    "h": 66.115,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8732,
    "c": 0.17452,
    "h": 115.1
  },
  "luminance": 0.68524
}

Semantic roles & 50–950 ramp

primary
#D2E245
secondary
#3C329A
accent
#38F04B
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E245

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

Preview Lab → · Contrast checker → · Palette generator →

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