#D3E952#D3E952

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

Color values

HEX#D3E952
RGBrgb(211, 233, 82)
HSLhsl(69, 77%, 62%)
HSVhsv(69, 65%, 91%)
CMYKcmyk(9.4%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.32, -26.72, 68.12)
CIE-LCHlch(88.32, 73.18, 111.42°)
OKLaboklab(89.01% -0.0791 0.1542)
OKLCHoklch(89.01% 0.173 117.2)
XYZxyz(57.5271, 72.7365, 18.9900)
Luminance0.7274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E952 #6852E9
analogous
#E9B452 #D3E952 #88E952
triadic
#D3E952 #52D3E9 #E952D3
tetradic
#D3E952 #52E9B4 #6852E9 #E95288
square
#D3E952 #52E9B4 #6852E9 #E95288
split-complementary
#D3E952 #5288E9 #B452E9
monochromatic
#95AB16 #C5E11D #D3E952 #E1F088 #EFF7BF

Accessibility & contrast

On white

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

On black

15.55
#D3E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E952
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E952#FFFFFF#000000##000000
##D3E9521.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#F6DF5D
Tritanopia (blue-blind)
#DFDDCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d3e952;
/* rgb */ color: rgb(211, 233, 82);
/* oklch */ color: oklch(89.0% 0.173 117.2);
Tailwind
colors: {
  custom: {
    50: '#e4f08a',
    500: '#d3e952',
    950: '#000000',
  },
}
SCSS
$custom: #d3e952;
$custom-light: #e4f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e952",
  "rgb": {
    "r": 211,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 68.742,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89014,
    "c": 0.17327,
    "h": 117.2
  },
  "luminance": 0.72736
}

Semantic roles & 50–950 ramp

primary
#D3E952
secondary
#4533AC
accent
#0CDA2A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D3E952

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

Preview Lab → · Contrast checker → · Palette generator →

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