#D2E948#D2E948

#D2E948 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 88.9% C 0.180 H 117.3°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#D2E948
RGBrgb(210, 233, 72)
HSLhsl(69, 79%, 60%)
HSVhsv(69, 69%, 91%)
CMYKcmyk(9.9%, 0%, 69.1%, 8.6%)
CIE-LABlab(88.18, -27.70, 71.69)
CIE-LCHlch(88.18, 76.85, 111.12°)
OKLaboklab(88.86% -0.0827 0.1602)
OKLCHoklch(88.86% 0.18 117.3)
XYZxyz(56.8882, 72.4480, 17.1166)
Luminance0.7245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E948 #5F48E9
analogous
#E9AF48 #D2E948 #82E948
triadic
#D2E948 #48D2E9 #E948D2
tetradic
#D2E948 #48E9AF #5F48E9 #E94882
square
#D2E948 #48E9AF #5F48E9 #E94882
split-complementary
#D2E948 #4882E9 #AF48E9
monochromatic
#8FA314 #BEDA1A #D2E948 #DFF07F #EDF6B5

Accessibility & contrast

On white

1.36
#D2E948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#D2E948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E948
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E948#FFFFFF#000000##000000
##D2E9481.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD2D
Deuteranopia (green-blind)
#F6DE55
Tritanopia (blue-blind)
#DFDCC9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e948;
/* rgb */ color: rgb(210, 233, 72);
/* oklch */ color: oklch(88.9% 0.180 117.3);
Tailwind
colors: {
  custom: {
    50: '#e3f084',
    500: '#d2e948',
    950: '#000000',
  },
}
SCSS
$custom: #d2e948;
$custom-light: #e3f084;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e948",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 72
  },
  "hsl": {
    "h": 68.571,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.88864,
    "c": 0.18027,
    "h": 117.3
  },
  "luminance": 0.72447
}

Semantic roles & 50–950 ramp

primary
#D2E948
secondary
#4130A5
accent
#33F54F
background
#FEFFFC
surface
#FDFEF3
border
#D5D6CD
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2E948

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

Preview Lab → · Contrast checker → · Palette generator →

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