#D3E252#D3E252

#D3E252 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.5% C 0.165 H 114.9°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#D3E252
RGBrgb(211, 226, 82)
HSLhsl(66, 71%, 60%)
HSVhsv(66, 64%, 89%)
CMYKcmyk(6.6%, 0%, 63.7%, 11.4%)
CIE-LABlab(86.43, -23.38, 66.15)
CIE-LCHlch(86.43, 70.16, 109.47°)
OKLaboklab(87.5% -0.0698 0.15)
OKLCHoklch(87.5% 0.165 114.9)
XYZxyz(55.5846, 68.8517, 18.3426)
Luminance0.6885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E252 #6152E2
analogous
#E2A952 #D3E252 #8BE252
triadic
#D3E252 #52D3E2 #E252D3
tetradic
#D3E252 #52E2A9 #6152E2 #E2528B
square
#D3E252 #52E2A9 #6152E2 #E2528B
split-complementary
#D3E252 #528BE2 #A952E2
monochromatic
#919F1B #C1D323 #D3E252 #E0EB86 #EEF4BB

Accessibility & contrast

On white

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

On black

14.77
#D3E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E252
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E252#FFFFFF#000000##000000
##D3E2521.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#F0DA5C
Tritanopia (blue-blind)
#E0D6C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d3e252;
/* rgb */ color: rgb(211, 226, 82);
/* oklch */ color: oklch(87.5% 0.165 114.9);
Tailwind
colors: {
  custom: {
    50: '#e4eb89',
    500: '#d3e252',
    950: '#000000',
  },
}
SCSS
$custom: #d3e252;
$custom-light: #e4eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e252",
  "rgb": {
    "r": 211,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 66.25,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87497,
    "c": 0.16544,
    "h": 114.9
  },
  "luminance": 0.68851
}

Semantic roles & 50–950 ramp

primary
#D3E252
secondary
#4136A2
accent
#12D326
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D3E252

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

Preview Lab → · Contrast checker → · Palette generator →

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