#D2E257#D2E257

#D2E257 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.5% C 0.162 H 115.4°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#D2E257
RGBrgb(210, 226, 87)
HSLhsl(67, 71%, 61%)
HSVhsv(67, 62%, 89%)
CMYKcmyk(7.1%, 0%, 61.5%, 11.4%)
CIE-LABlab(86.40, -23.46, 64.07)
CIE-LCHlch(86.40, 68.23, 110.11°)
OKLaboklab(87.46% -0.0694 0.1463)
OKLCHoklch(87.46% 0.162 115.4)
XYZxyz(55.4962, 68.7833, 19.3680)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E257 #6757E2
analogous
#E2AC57 #D2E257 #8DE257
triadic
#D2E257 #57D2E2 #E257D2
tetradic
#D2E257 #57E2AC #6757E2 #E2578D
square
#D2E257 #57E2AC #6757E2 #E2578D
split-complementary
#D2E257 #578DE2 #AC57E2
monochromatic
#93A31C #C2D725 #D2E257 #E0EB8B #EEF4BF

Accessibility & contrast

On white

1.42
#D2E257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#D2E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E257
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E257#FFFFFF#000000##000000
##D2E2571.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D746
Deuteranopia (green-blind)
#F0D960
Tritanopia (blue-blind)
#DED6C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e257;
/* rgb */ color: rgb(210, 226, 87);
/* oklch */ color: oklch(87.5% 0.162 115.4);
Tailwind
colors: {
  custom: {
    50: '#e3eb8c',
    500: '#d2e257',
    950: '#000000',
  },
}
SCSS
$custom: #d2e257;
$custom-light: #e3eb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e257",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 66.906,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87464,
    "c": 0.16196,
    "h": 115.4
  },
  "luminance": 0.68782
}

Semantic roles & 50–950 ramp

primary
#D2E257
secondary
#4538A5
accent
#13D329
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E257

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

Preview Lab → · Contrast checker → · Palette generator →

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