#D2E37B#D2E37B

#D2E37B is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.1% C 0.131 H 116.8°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#D2E37B
RGBrgb(210, 227, 123)
HSLhsl(70, 65%, 69%)
HSVhsv(70, 46%, 89%)
CMYKcmyk(7.5%, 0%, 45.8%, 11%)
CIE-LABlab(87.03, -20.92, 48.63)
CIE-LCHlch(87.03, 52.94, 113.28°)
OKLaboklab(88.09% -0.0589 0.1166)
OKLCHoklch(88.09% 0.131 116.8)
XYZxyz(57.6231, 70.0704, 29.2244)
Luminance0.7007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E37B #8C7BE3
analogous
#E3C07B #D2E37B #9EE37B
triadic
#D2E37B #7BD2E3 #E37BD2
tetradic
#D2E37B #7BE3C0 #8C7BE3 #E37B9E
square
#D2E37B #7BE3C0 #8C7BE3 #E37B9E
split-complementary
#D2E37B #7B9EE3 #C07BE3
monochromatic
#A4BC28 #C1D849 #D2E37B #E3EEAD #F4F8E0

Accessibility & contrast

On white

1.40
#D2E37B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#D2E37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E37B
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E37B#FFFFFF#000000##000000
##D2E37B1.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD972
Deuteranopia (green-blind)
#EEDB80
Tritanopia (blue-blind)
#DCD9CB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e37b;
/* rgb */ color: rgb(210, 227, 123);
/* oklch */ color: oklch(88.1% 0.131 116.8);
Tailwind
colors: {
  custom: {
    50: '#e1eba3',
    500: '#d2e37b',
    950: '#000000',
  },
}
SCSS
$custom: #d2e37b;
$custom-light: #e1eba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e37b",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 123
  },
  "hsl": {
    "h": 69.808,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88091,
    "c": 0.13058,
    "h": 116.8
  },
  "luminance": 0.7007
}

Semantic roles & 50–950 ramp

primary
#D2E37B
secondary
#5B48BA
accent
#19CD36
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #D2E37B

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

Preview Lab → · Contrast checker → · Palette generator →

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