#D2E45F#D2E45F

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

Color values

HEX#D2E45F
RGBrgb(210, 228, 95)
HSLhsl(68, 71%, 63%)
HSVhsv(68, 58%, 89%)
CMYKcmyk(7.9%, 0%, 58.3%, 10.6%)
CIE-LABlab(87.00, -23.85, 61.37)
CIE-LCHlch(87.00, 65.84, 111.24°)
OKLaboklab(87.97% -0.0697 0.1416)
OKLCHoklch(87.97% 0.158 116.2)
XYZxyz(56.3884, 70.0154, 21.3681)
Luminance0.7002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E45F #715FE4
analogous
#E4B35F #D2E45F #8FE45F
triadic
#D2E45F #5FD2E4 #E45FD2
tetradic
#D2E45F #5FE4B3 #715FE4 #E45F8F
square
#D2E45F #5FE4B3 #715FE4 #E45F8F
split-complementary
#D2E45F #5F8FE4 #B35FE4
monochromatic
#98AC1D #C3DB2B #D2E45F #E1ED93 #EFF6C8

Accessibility & contrast

On white

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

On black

15.00
#D2E45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E45F
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E45F#FFFFFF#000000##000000
##D2E45F1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e45f;
/* rgb */ color: rgb(210, 228, 95);
/* oklch */ color: oklch(88.0% 0.158 116.2);
Tailwind
colors: {
  custom: {
    50: '#e2ec91',
    500: '#d2e45f',
    950: '#000000',
  },
}
SCSS
$custom: #d2e45f;
$custom-light: #e2ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e45f",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 68.12,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87973,
    "c": 0.15785,
    "h": 116.2
  },
  "luminance": 0.70015
}

Semantic roles & 50–950 ramp

primary
#D2E45F
secondary
#4A3AAD
accent
#12D32C
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E45F

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

Preview Lab → · Contrast checker → · Palette generator →

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