#D2E04F#D2E04F

#D2E04F is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.0% C 0.166 H 114.6°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#D2E04F
RGBrgb(210, 224, 79)
HSLhsl(66, 70%, 59%)
HSVhsv(66, 65%, 88%)
CMYKcmyk(6.3%, 0%, 64.7%, 12.2%)
CIE-LABlab(85.80, -23.01, 66.64)
CIE-LCHlch(85.80, 70.50, 109.05°)
OKLaboklab(86.96% -0.069 0.1506)
OKLCHoklch(86.96% 0.166 114.6)
XYZxyz(54.6466, 67.5784, 17.5608)
Luminance0.6758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E04F #5D4FE0
analogous
#E0A64F #D2E04F #8AE04F
triadic
#D2E04F #4FD2E0 #E04FD2
tetradic
#D2E04F #4FE0A6 #5D4FE0 #E04F8A
square
#D2E04F #4FE0A6 #5D4FE0 #E04F8A
split-complementary
#D2E04F #4F8AE0 #A64FE0
monochromatic
#8D9A1B #BDCE24 #D2E04F #DFE983 #EDF2B7

Accessibility & contrast

On white

1.45
#D2E04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#D2E04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E04F
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E04F#FFFFFF#000000##000000
##D2E04F1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53B
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2e04f;
/* rgb */ color: rgb(210, 224, 79);
/* oklch */ color: oklch(87.0% 0.166 114.6);
Tailwind
colors: {
  custom: {
    50: '#e3e987',
    500: '#d2e04f',
    950: '#000000',
  },
}
SCSS
$custom: #d2e04f;
$custom-light: #e3e987;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e04f",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 65.793,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86963,
    "c": 0.16567,
    "h": 114.6
  },
  "luminance": 0.67577
}

Semantic roles & 50–950 ramp

primary
#D2E04F
secondary
#40369D
accent
#3BED4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E04F

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

Preview Lab → · Contrast checker → · Palette generator →

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