#D3E962#D3E962

#D3E962 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.2% C 0.161 H 117.6°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#D3E962
RGBrgb(211, 233, 98)
HSLhsl(70, 75%, 65%)
HSVhsv(70, 58%, 91%)
CMYKcmyk(9.4%, 0%, 57.9%, 8.6%)
CIE-LABlab(88.45, -25.62, 61.71)
CIE-LCHlch(88.45, 66.82, 112.55°)
OKLaboklab(89.16% -0.0745 0.1427)
OKLCHoklch(89.16% 0.161 117.6)
XYZxyz(58.2084, 73.0091, 22.5786)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E962 #7862E9
analogous
#E9BC62 #D3E962 #8FE962
triadic
#D3E962 #62D3E9 #E962D3
tetradic
#D3E962 #62E9BC #7862E9 #E9628F
square
#D3E962 #62E9BC #7862E9 #E9628F
split-complementary
#D3E962 #628FE9 #BC62E9
monochromatic
#9DB71A #C4E12C #D3E962 #E2F198 #F1F8CD

Accessibility & contrast

On white

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

On black

15.60
#D3E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E962
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E962#FFFFFF#000000##000000
##D3E9621.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE53
Deuteranopia (green-blind)
#F5DF6B
Tritanopia (blue-blind)
#DEDDCC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d3e962;
/* rgb */ color: rgb(211, 233, 98);
/* oklch */ color: oklch(89.2% 0.161 117.6);
Tailwind
colors: {
  custom: {
    50: '#e3f093',
    500: '#d3e962',
    950: '#000000',
  },
}
SCSS
$custom: #d3e962;
$custom-light: #e3f093;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e962",
  "rgb": {
    "r": 211,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 69.778,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89161,
    "c": 0.16094,
    "h": 117.6
  },
  "luminance": 0.73009
}

Semantic roles & 50–950 ramp

primary
#D3E962
secondary
#4D38B7
accent
#0ED82F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D3E962

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

Preview Lab → · Contrast checker → · Palette generator →

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