#D2E15C#D2E15C

#D2E15C is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.3% C 0.157 H 115.1°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#D2E15C
RGBrgb(210, 225, 92)
HSLhsl(67, 69%, 62%)
HSVhsv(67, 59%, 88%)
CMYKcmyk(6.7%, 0%, 59.1%, 11.8%)
CIE-LABlab(86.17, -22.63, 61.73)
CIE-LCHlch(86.17, 65.74, 110.13°)
OKLaboklab(87.3% -0.0666 0.142)
OKLCHoklch(87.3% 0.157 115.1)
XYZxyz(55.4365, 68.3256, 20.3909)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E15C #6B5CE1
analogous
#E1AE5C #D2E15C #90E15C
triadic
#D2E15C #5CD2E1 #E15CD2
tetradic
#D2E15C #5CE1AE #6B5CE1 #E15C90
square
#D2E15C #5CE1AE #6B5CE1 #E15C90
split-complementary
#D2E15C #5C90E1 #AE5CE1
monochromatic
#95A41E #C4D728 #D2E15C #E0EB90 #EFF4C3

Accessibility & contrast

On white

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

On black

14.67
#D2E15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E15C
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E15C#FFFFFF#000000##000000
##D2E15C1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e15c;
/* rgb */ color: rgb(210, 225, 92);
/* oklch */ color: oklch(87.3% 0.157 115.1);
Tailwind
colors: {
  custom: {
    50: '#e2ea8f',
    500: '#d2e15c',
    950: '#000000',
  },
}
SCSS
$custom: #d2e15c;
$custom-light: #e2ea8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e15c",
  "rgb": {
    "r": 210,
    "g": 225,
    "b": 92
  },
  "hsl": {
    "h": 66.767,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87296,
    "c": 0.15685,
    "h": 115.1
  },
  "luminance": 0.68325
}

Semantic roles & 50–950 ramp

primary
#D2E15C
secondary
#473AA7
accent
#15D12A
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2E15C

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

Preview Lab → · Contrast checker → · Palette generator →

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