#D2E54F#D2E54F

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

Color values

HEX#D2E54F
RGBrgb(210, 229, 79)
HSLhsl(68, 74%, 60%)
HSVhsv(68, 66%, 90%)
CMYKcmyk(8.3%, 0%, 65.5%, 10.2%)
CIE-LABlab(87.15, -25.41, 68.04)
CIE-LCHlch(87.15, 72.63, 110.47°)
OKLaboklab(88.05% -0.0756 0.1536)
OKLCHoklch(88.05% 0.171 116.2)
XYZxyz(56.0102, 70.3055, 18.0154)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E54F #624FE5
analogous
#E5AD4F #D2E54F #87E54F
triadic
#D2E54F #4FD2E5 #E54FD2
tetradic
#D2E54F #4FE5AD #624FE5 #E54F87
square
#D2E54F #4FE5AD #624FE5 #E54F87
split-complementary
#D2E54F #4F87E5 #AD4FE5
monochromatic
#90A218 #C0D720 #D2E54F #E0ED84 #EDF5BA

Accessibility & contrast

On white

1.39
#D2E54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#D2E54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E54F
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E54F#FFFFFF#000000##000000
##D2E54F1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA3A
Deuteranopia (green-blind)
#F3DB5A
Tritanopia (blue-blind)
#DFD9C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e54f;
/* rgb */ color: rgb(210, 229, 79);
/* oklch */ color: oklch(88.0% 0.171 116.2);
Tailwind
colors: {
  custom: {
    50: '#e3ed88',
    500: '#d2e54f',
    950: '#000000',
  },
}
SCSS
$custom: #d2e54f;
$custom-light: #e3ed88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e54f",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 67.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88046,
    "c": 0.17121,
    "h": 116.2
  },
  "luminance": 0.70305
}

Semantic roles & 50–950 ramp

primary
#D2E54F
secondary
#4234A4
accent
#0FD628
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E54F

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

Preview Lab → · Contrast checker → · Palette generator →

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