#D3E151#D3E151

#D3E151 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.3% C 0.165 H 114.6°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#D3E151
RGBrgb(211, 225, 81)
HSLhsl(66, 71%, 60%)
HSVhsv(66, 64%, 88%)
CMYKcmyk(6.2%, 0%, 64%, 11.8%)
CIE-LABlab(86.15, -22.96, 66.25)
CIE-LCHlch(86.15, 70.12, 109.12°)
OKLaboklab(87.27% -0.0687 0.1501)
OKLCHoklch(87.27% 0.165 114.6)
XYZxyz(55.2757, 68.2943, 18.0532)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E151 #5F51E1
analogous
#E1A751 #D3E151 #8BE151
triadic
#D3E151 #51D3E1 #E151D3
tetradic
#D3E151 #51E1A7 #5F51E1 #E1518B
square
#D3E151 #51E1A7 #5F51E1 #E1518B
split-complementary
#D3E151 #518BE1 #A751E1
monochromatic
#909D1B #C0D124 #D3E151 #E0EA85 #EDF3B9

Accessibility & contrast

On white

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

On black

14.66
#D3E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E151
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E151#FFFFFF#000000##000000
##D3E1511.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#E0D5C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d3e151;
/* rgb */ color: rgb(211, 225, 81);
/* oklch */ color: oklch(87.3% 0.165 114.6);
Tailwind
colors: {
  custom: {
    50: '#e4ea89',
    500: '#d3e151',
    950: '#000000',
  },
}
SCSS
$custom: #d3e151;
$custom-light: #e4ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e151",
  "rgb": {
    "r": 211,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 65.833,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.87273,
    "c": 0.16506,
    "h": 114.6
  },
  "luminance": 0.68293
}

Semantic roles & 50–950 ramp

primary
#D3E151
secondary
#4036A0
accent
#3AED4C
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D3E151

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

Preview Lab → · Contrast checker → · Palette generator →

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