#D2EB5F#D2EB5F

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

Color values

HEX#D2EB5F
RGBrgb(210, 235, 95)
HSLhsl(71, 78%, 65%)
HSVhsv(71, 60%, 92%)
CMYKcmyk(10.6%, 0%, 59.6%, 7.8%)
CIE-LABlab(88.90, -27.18, 63.46)
CIE-LCHlch(88.90, 69.03, 113.19°)
OKLaboklab(89.49% -0.0791 0.146)
OKLCHoklch(89.49% 0.166 118.4)
XYZxyz(58.3532, 73.9450, 22.0230)
Luminance0.7395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EB5F #785FEB
analogous
#EBBE5F #D2EB5F #8CEB5F
triadic
#D2EB5F #5FD2EB #EB5FD2
tetradic
#D2EB5F #5FEBBE #785FEB #EB5F8C
square
#D2EB5F #5FEBBE #785FEB #EB5F8C
split-complementary
#D2EB5F #5F8CEB #BE5FEB
monochromatic
#9CB917 #C3E429 #D2EB5F #E1F295 #F1F9CC

Accessibility & contrast

On white

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

On black

15.79
#D2EB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EB5F
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EB5F#FFFFFF#000000##000000
##D2EB5F1.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2eb5f;
/* rgb */ color: rgb(210, 235, 95);
/* oklch */ color: oklch(89.5% 0.166 118.4);
Tailwind
colors: {
  custom: {
    50: '#e2f192',
    500: '#d2eb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2eb5f;
$custom-light: #e2f192;
$custom-dark: #000000;
JSON
{
  "hex": "#d2eb5f",
  "rgb": {
    "r": 210,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 70.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89491,
    "c": 0.16608,
    "h": 118.4
  },
  "luminance": 0.73945
}

Semantic roles & 50–950 ramp

primary
#D2EB5F
secondary
#4D36B8
accent
#0BDA30
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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