#D2E148#D2E148

#D2E148 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.1% C 0.172 H 114.9°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#D2E148
RGBrgb(210, 225, 72)
HSLhsl(66, 72%, 58%)
HSVhsv(66, 68%, 88%)
CMYKcmyk(6.7%, 0%, 68%, 11.8%)
CIE-LABlab(86.02, -23.89, 69.52)
CIE-LCHlch(86.02, 73.52, 108.97°)
OKLaboklab(87.13% -0.0721 0.1557)
OKLCHoklch(87.13% 0.172 114.9)
XYZxyz(54.6747, 68.0209, 16.3788)
Luminance0.6802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E148 #5748E1
analogous
#E1A348 #D2E148 #86E148
triadic
#D2E148 #48D2E1 #E148D2
tetradic
#D2E148 #48E1A3 #5748E1 #E14886
square
#D2E148 #48E1A3 #5748E1 #E14886
split-complementary
#D2E148 #4886E1 #A348E1
monochromatic
#8A9619 #BACB21 #D2E148 #DFEA7D #ECF2B1

Accessibility & contrast

On white

1.44
#D2E148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#D2E148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E148
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E148#FFFFFF#000000##000000
##D2E1481.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D630
Deuteranopia (green-blind)
#F0D853
Tritanopia (blue-blind)
#DFD4C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e148;
/* rgb */ color: rgb(210, 225, 72);
/* oklch */ color: oklch(87.1% 0.172 114.9);
Tailwind
colors: {
  custom: {
    50: '#e3ea84',
    500: '#d2e148',
    950: '#000000',
  },
}
SCSS
$custom: #d2e148;
$custom-light: #e3ea84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e148",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 72
  },
  "hsl": {
    "h": 65.882,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.87125,
    "c": 0.17154,
    "h": 114.9
  },
  "luminance": 0.6802
}

Semantic roles & 50–950 ramp

primary
#D2E148
secondary
#3D339A
accent
#39EF4B
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E148

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

Preview Lab → · Contrast checker → · Palette generator →

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