#D2EB5C#D2EB5C

#D2EB5C is a very light, vivid yellow-green. Relative luminance 0.739; OKLCH L 89.5% C 0.168 H 118.3°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#D2EB5C
RGBrgb(210, 235, 92)
HSLhsl(70, 78%, 64%)
HSVhsv(70, 61%, 92%)
CMYKcmyk(10.6%, 0%, 60.9%, 7.8%)
CIE-LABlab(88.87, -27.40, 64.68)
CIE-LCHlch(88.87, 70.24, 112.96°)
OKLaboklab(89.46% -0.08 0.1483)
OKLCHoklch(89.46% 0.168 118.3)
XYZxyz(58.2194, 73.8915, 21.3186)
Luminance0.7389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EB5C #755CEB
analogous
#EBBD5C #D2EB5C #8BEB5C
triadic
#D2EB5C #5CD2EB #EB5CD2
tetradic
#D2EB5C #5CEBBD #755CEB #EB5C8B
square
#D2EB5C #5CEBBD #755CEB #EB5C8B
split-complementary
#D2EB5C #5C8BEB #BD5CEB
monochromatic
#9AB616 #C3E425 #D2EB5C #E1F293 #F0F8C9

Accessibility & contrast

On white

1.33
#D2EB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#D2EB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EB5C
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EB5C#FFFFFF#000000##000000
##D2EB5C1.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4B
Deuteranopia (green-blind)
#F7E066
Tritanopia (blue-blind)
#DDDFCD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d2eb5c;
/* rgb */ color: rgb(210, 235, 92);
/* oklch */ color: oklch(89.5% 0.168 118.3);
Tailwind
colors: {
  custom: {
    50: '#e3f190',
    500: '#d2eb5c',
    950: '#000000',
  },
}
SCSS
$custom: #d2eb5c;
$custom-light: #e3f190;
$custom-dark: #000000;
JSON
{
  "hex": "#d2eb5c",
  "rgb": {
    "r": 210,
    "g": 235,
    "b": 92
  },
  "hsl": {
    "h": 70.49,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89463,
    "c": 0.16845,
    "h": 118.3
  },
  "luminance": 0.73891
}

Semantic roles & 50–950 ramp

primary
#D2EB5C
secondary
#4C35B6
accent
#0BDA2F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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