#D6E962#D6E962

#D6E962 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.4% C 0.160 H 116.5°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#D6E962
RGBrgb(214, 233, 98)
HSLhsl(68, 75%, 65%)
HSVhsv(68, 58%, 91%)
CMYKcmyk(8.2%, 0%, 57.9%, 8.6%)
CIE-LABlab(88.67, -24.44, 62.01)
CIE-LCHlch(88.67, 66.65, 111.51°)
OKLaboklab(89.39% -0.0713 0.1432)
OKLCHoklch(89.39% 0.16 116.5)
XYZxyz(59.0762, 73.4565, 22.6193)
Luminance0.7346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6E962 #7562E9
analogous
#E9B862 #D6E962 #93E962
triadic
#D6E962 #62D6E9 #E962D6
tetradic
#D6E962 #62E9B8 #7562E9 #E96293
square
#D6E962 #62E9B8 #7562E9 #E96293
split-complementary
#D6E962 #6293E9 #B862E9
monochromatic
#A1B71A #C8E12C #D6E962 #E4F198 #F2F8CD

Accessibility & contrast

On white

1.34
#D6E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#D6E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6E962
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6E962#FFFFFF#000000##000000
##D6E9621.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE53
Deuteranopia (green-blind)
#F6E06A
Tritanopia (blue-blind)
#E2DDCC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d6e962;
/* rgb */ color: rgb(214, 233, 98);
/* oklch */ color: oklch(89.4% 0.160 116.5);
Tailwind
colors: {
  custom: {
    50: '#e5f093',
    500: '#d6e962',
    950: '#000000',
  },
}
SCSS
$custom: #d6e962;
$custom-light: #e5f093;
$custom-dark: #000000;
JSON
{
  "hex": "#d6e962",
  "rgb": {
    "r": 214,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 68.444,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89385,
    "c": 0.16001,
    "h": 116.5
  },
  "luminance": 0.73456
}

Semantic roles & 50–950 ramp

primary
#D6E962
secondary
#4A38B7
accent
#0ED82A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D6E962

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

Preview Lab → · Contrast checker → · Palette generator →

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