#D2E15F#D2E15F

#D2E15F is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.3% C 0.154 H 115.2°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#D2E15F
RGBrgb(210, 225, 95)
HSLhsl(67, 68%, 63%)
HSVhsv(67, 58%, 88%)
CMYKcmyk(6.7%, 0%, 57.8%, 11.8%)
CIE-LABlab(86.20, -22.41, 60.47)
CIE-LCHlch(86.20, 64.49, 110.33°)
OKLaboklab(87.33% -0.0657 0.1397)
OKLCHoklch(87.33% 0.154 115.2)
XYZxyz(55.5702, 68.3791, 21.0953)
Luminance0.6838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E15F #6E5FE1
analogous
#E1AF5F #D2E15F #91E15F
triadic
#D2E15F #5FD2E1 #E15FD2
tetradic
#D2E15F #5FE1AF #6E5FE1 #E15F91
square
#D2E15F #5FE1AF #6E5FE1 #E15F91
split-complementary
#D2E15F #5F91E1 #AF5FE1
monochromatic
#97A61F #C4D72B #D2E15F #E0EB93 #EFF4C6

Accessibility & contrast

On white

1.43
#D2E15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#D2E15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E15F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E15F#FFFFFF#000000##000000
##D2E15F1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD751
Deuteranopia (green-blind)
#EED967
Tritanopia (blue-blind)
#DED5C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e15f;
/* rgb */ color: rgb(210, 225, 95);
/* oklch */ color: oklch(87.3% 0.154 115.2);
Tailwind
colors: {
  custom: {
    50: '#e2ea91',
    500: '#d2e15f',
    950: '#000000',
  },
}
SCSS
$custom: #d2e15f;
$custom-light: #e2ea91;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e15f",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 95
  },
  "hsl": {
    "h": 66.923,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87325,
    "c": 0.15436,
    "h": 115.2
  },
  "luminance": 0.68378
}

Semantic roles & 50–950 ramp

primary
#D2E15F
secondary
#483BA9
accent
#15D02B
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E15F

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

Preview Lab → · Contrast checker → · Palette generator →

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