#D2E957#D2E957

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

Color values

HEX#D2E957
RGBrgb(210, 233, 87)
HSLhsl(69, 77%, 63%)
HSVhsv(69, 63%, 91%)
CMYKcmyk(9.9%, 0%, 62.7%, 8.6%)
CIE-LABlab(88.29, -26.80, 66.09)
CIE-LCHlch(88.29, 71.32, 112.07°)
OKLaboklab(88.98% -0.0788 0.1506)
OKLCHoklch(88.98% 0.17 117.6)
XYZxyz(57.4386, 72.6681, 20.0155)
Luminance0.7267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E957 #6E57E9
analogous
#E9B757 #D2E957 #89E957
triadic
#D2E957 #57D2E9 #E957D2
tetradic
#D2E957 #57E9B7 #6E57E9 #E95789
square
#D2E957 #57E9B7 #6E57E9 #E95789
split-complementary
#D2E957 #5789E9 #B757E9
monochromatic
#97AF17 #C4E221 #D2E957 #E0F08D #EFF7C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E957#FFFFFF#000000##000000
##D2E9571.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)
#F8DD44
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#DEDDCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d2e957;
/* rgb */ color: rgb(210, 233, 87);
/* oklch */ color: oklch(89.0% 0.170 117.6);
Tailwind
colors: {
  custom: {
    50: '#e3f08d',
    500: '#d2e957',
    950: '#000000',
  },
}
SCSS
$custom: #d2e957;
$custom-light: #e3f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e957",
  "rgb": {
    "r": 210,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 69.452,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88983,
    "c": 0.16996,
    "h": 117.6
  },
  "luminance": 0.72668
}

Semantic roles & 50–950 ramp

primary
#D2E957
secondary
#4835AF
accent
#0CD92D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2E957

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

Preview Lab → · Contrast checker → · Palette generator →

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