#D3E157#D3E157

#D3E157 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.3% C 0.161 H 114.7°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#D3E157
RGBrgb(211, 225, 87)
HSLhsl(66, 70%, 61%)
HSVhsv(66, 61%, 88%)
CMYKcmyk(6.2%, 0%, 61.3%, 11.8%)
CIE-LABlab(86.20, -22.58, 63.88)
CIE-LCHlch(86.20, 67.75, 109.46°)
OKLaboklab(87.33% -0.067 0.1459)
OKLCHoklch(87.33% 0.161 114.7)
XYZxyz(55.5108, 68.3883, 19.2910)
Luminance0.6839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E157 #6557E1
analogous
#E1AA57 #D3E157 #8EE157
triadic
#D3E157 #57D3E1 #E157D3
tetradic
#D3E157 #57E1AA #6557E1 #E1578E
square
#D3E157 #57E1AA #6557E1 #E1578E
split-complementary
#D3E157 #578EE1 #AA57E1
monochromatic
#93A11D #C3D526 #D3E157 #E1EA8B #EEF4BF

Accessibility & contrast

On white

1.43
#D3E157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#D3E157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E157
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E157#FFFFFF#000000##000000
##D3E1571.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D746
Deuteranopia (green-blind)
#EFD960
Tritanopia (blue-blind)
#E0D5C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d3e157;
/* rgb */ color: rgb(211, 225, 87);
/* oklch */ color: oklch(87.3% 0.161 114.7);
Tailwind
colors: {
  custom: {
    50: '#e3ea8c',
    500: '#d3e157',
    950: '#000000',
  },
}
SCSS
$custom: #d3e157;
$custom-light: #e3ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e157",
  "rgb": {
    "r": 211,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 66.087,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87325,
    "c": 0.16055,
    "h": 114.7
  },
  "luminance": 0.68387
}

Semantic roles & 50–950 ramp

primary
#D3E157
secondary
#4338A4
accent
#14D227
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D3E157

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

Preview Lab → · Contrast checker → · Palette generator →

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