#D2E45A#D2E45A

#D2E45A is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 87.9% C 0.162 H 116.1°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#D2E45A
RGBrgb(210, 228, 90)
HSLhsl(68, 72%, 62%)
HSVhsv(68, 61%, 89%)
CMYKcmyk(7.9%, 0%, 60.5%, 10.6%)
CIE-LABlab(86.96, -24.21, 63.43)
CIE-LCHlch(86.96, 67.90, 110.89°)
OKLaboklab(87.93% -0.0712 0.1454)
OKLCHoklch(87.93% 0.162 116.1)
XYZxyz(56.1683, 69.9274, 20.2093)
Luminance0.6993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E45A #6C5AE4
analogous
#E4B15A #D2E45A #8DE45A
triadic
#D2E45A #5AD2E4 #E45AD2
tetradic
#D2E45A #5AE4B1 #6C5AE4 #E45A8D
square
#D2E45A #5AE4B1 #6C5AE4 #E45A8D
split-complementary
#D2E45A #5A8DE4 #B15AE4
monochromatic
#96A81C #C4DB25 #D2E45A #E0ED8F #EFF5C3

Accessibility & contrast

On white

1.40
#D2E45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#D2E45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E45A
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E45A#FFFFFF#000000##000000
##D2E45A1.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D94A
Deuteranopia (green-blind)
#F1DB63
Tritanopia (blue-blind)
#DED8C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e45a;
/* rgb */ color: rgb(210, 228, 90);
/* oklch */ color: oklch(87.9% 0.162 116.1);
Tailwind
colors: {
  custom: {
    50: '#e3ec8e',
    500: '#d2e45a',
    950: '#000000',
  },
}
SCSS
$custom: #d2e45a;
$custom-light: #e3ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e45a",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 67.826,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87925,
    "c": 0.1619,
    "h": 116.1
  },
  "luminance": 0.69927
}

Semantic roles & 50–950 ramp

primary
#D2E45A
secondary
#4738AA
accent
#12D42B
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E45A

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

Preview Lab → · Contrast checker → · Palette generator →

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