#D2E048#D2E048

#D2E048 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.9% C 0.170 H 114.5°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#D2E048
RGBrgb(210, 224, 72)
HSLhsl(66, 71%, 58%)
HSVhsv(66, 68%, 88%)
CMYKcmyk(6.3%, 0%, 67.9%, 12.2%)
CIE-LABlab(85.75, -23.41, 69.25)
CIE-LCHlch(85.75, 73.11, 108.68°)
OKLaboklab(86.91% -0.0708 0.1551)
OKLCHoklch(86.91% 0.17 114.5)
XYZxyz(54.4051, 67.4818, 16.2889)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E048 #5648E0
analogous
#E0A248 #D2E048 #86E048
triadic
#D2E048 #48D2E0 #E048D2
tetradic
#D2E048 #48E0A2 #5648E0 #E04886
square
#D2E048 #48E0A2 #5648E0 #E04886
split-complementary
#D2E048 #4886E0 #A248E0
monochromatic
#899419 #B9C922 #D2E048 #DFE97C #ECF2B1

Accessibility & contrast

On white

1.45
#D2E048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#D2E048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E048
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E048#FFFFFF#000000##000000
##D2E0481.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D530
Deuteranopia (green-blind)
#EFD853
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2e048;
/* rgb */ color: rgb(210, 224, 72);
/* oklch */ color: oklch(86.9% 0.170 114.5);
Tailwind
colors: {
  custom: {
    50: '#e3e984',
    500: '#d2e048',
    950: '#000000',
  },
}
SCSS
$custom: #d2e048;
$custom-light: #e3e984;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e048",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 72
  },
  "hsl": {
    "h": 65.526,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.86908,
    "c": 0.17046,
    "h": 114.5
  },
  "luminance": 0.67481
}

Semantic roles & 50–950 ramp

primary
#D2E048
secondary
#3D3399
accent
#3AEE4B
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E048

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

Preview Lab → · Contrast checker → · Palette generator →

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