#D2E45C#D2E45C

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

Color values

HEX#D2E45C
RGBrgb(210, 228, 92)
HSLhsl(68, 72%, 63%)
HSVhsv(68, 60%, 89%)
CMYKcmyk(7.9%, 0%, 59.6%, 10.6%)
CIE-LABlab(86.98, -24.07, 62.62)
CIE-LCHlch(86.98, 67.08, 111.03°)
OKLaboklab(87.94% -0.0706 0.1439)
OKLCHoklch(87.94% 0.16 116.2)
XYZxyz(56.2546, 69.9619, 20.6637)
Luminance0.6996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E45C #6E5CE4
analogous
#E4B25C #D2E45C #8EE45C
triadic
#D2E45C #5CD2E4 #E45CD2
tetradic
#D2E45C #5CE4B2 #6E5CE4 #E45C8E
square
#D2E45C #5CE4B2 #6E5CE4 #E45C8E
split-complementary
#D2E45C #5C8EE4 #B25CE4
monochromatic
#97AA1C #C4DB27 #D2E45C #E0ED91 #EFF5C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E45C#FFFFFF#000000##000000
##D2E45C1.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)
#F3D94C
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#DED8C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e45c;
/* rgb */ color: rgb(210, 228, 92);
/* oklch */ color: oklch(87.9% 0.160 116.2);
Tailwind
colors: {
  custom: {
    50: '#e2ec8f',
    500: '#d2e45c',
    950: '#000000',
  },
}
SCSS
$custom: #d2e45c;
$custom-light: #e2ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e45c",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 67.941,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87944,
    "c": 0.1603,
    "h": 116.2
  },
  "luminance": 0.69961
}

Semantic roles & 50–950 ramp

primary
#D2E45C
secondary
#4839AB
accent
#12D42C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E45C

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

Preview Lab → · Contrast checker → · Palette generator →

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