#D2E955#D2E955

#D2E955 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.0% C 0.171 H 117.6°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#D2E955
RGBrgb(210, 233, 85)
HSLhsl(69, 77%, 62%)
HSVhsv(69, 64%, 91%)
CMYKcmyk(9.9%, 0%, 63.5%, 8.6%)
CIE-LABlab(88.27, -26.93, 66.87)
CIE-LCHlch(88.27, 72.09, 111.93°)
OKLaboklab(88.97% -0.0793 0.152)
OKLCHoklch(88.97% 0.171 117.6)
XYZxyz(57.3581, 72.6359, 19.5911)
Luminance0.7264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E955 #6C55E9
analogous
#E9B655 #D2E955 #88E955
triadic
#D2E955 #55D2E9 #E955D2
tetradic
#D2E955 #55E9B6 #6C55E9 #E95588
square
#D2E955 #55E9B6 #6C55E9 #E95588
split-complementary
#D2E955 #5588E9 #B655E9
monochromatic
#96AD16 #C4E21F #D2E955 #E0F08B #EFF7C1

Accessibility & contrast

On white

1.35
#D2E955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#D2E955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E955
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E955#FFFFFF#000000##000000
##D2E9551.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD42
Deuteranopia (green-blind)
#F5DE5F
Tritanopia (blue-blind)
#DEDDCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e955;
/* rgb */ color: rgb(210, 233, 85);
/* oklch */ color: oklch(89.0% 0.171 117.6);
Tailwind
colors: {
  custom: {
    50: '#e3f08c',
    500: '#d2e955',
    950: '#000000',
  },
}
SCSS
$custom: #d2e955;
$custom-light: #e3f08c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e955",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 85
  },
  "hsl": {
    "h": 69.324,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88965,
    "c": 0.17144,
    "h": 117.6
  },
  "luminance": 0.72635
}

Semantic roles & 50–950 ramp

primary
#D2E955
secondary
#4734AE
accent
#0CD92C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2E955

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

Preview Lab → · Contrast checker → · Palette generator →

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