#E6D982#E6D982

#E6D982 is a very light, moderate yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.109 H 100.9°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#E6D982
RGBrgb(230, 217, 130)
HSLhsl(52, 67%, 71%)
HSVhsv(52, 43%, 90%)
CMYKcmyk(0%, 5.7%, 43.5%, 9.8%)
CIE-LABlab(86.04, -7.41, 44.34)
CIE-LCHlch(86.04, 44.95, 99.49°)
OKLaboklab(87.71% -0.0206 0.1072)
OKLCHoklch(87.71% 0.109 100.9)
XYZxyz(61.4767, 68.0623, 31.0137)
Luminance0.6806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D982 #828FE6
analogous
#E6A782 #E6D982 #C1E682
triadic
#E6D982 #82E6D9 #D982E6
tetradic
#E6D982 #82E6A7 #828FE6 #E682C1
square
#E6D982 #82E6A7 #828FE6 #E682C1
split-complementary
#E6D982 #82C1E6 #A782E6
monochromatic
#C6B128 #DCC94F #E6D982 #F0E9B5 #FAF7E5

Accessibility & contrast

On white

1.44
#E6D982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#E6D982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D982
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D982#FFFFFF#000000##000000
##E6D9821.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D47B
Deuteranopia (green-blind)
#ECDA86
Tritanopia (blue-blind)
#F3CEC4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e6d982;
/* rgb */ color: rgb(230, 217, 130);
/* oklch */ color: oklch(87.7% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#efe4a8',
    500: '#e6d982',
    950: '#000000',
  },
}
SCSS
$custom: #e6d982;
$custom-light: #efe4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d982",
  "rgb": {
    "r": 230,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 52.2,
    "s": 66.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87707,
    "c": 0.10917,
    "h": 100.9
  },
  "luminance": 0.6806
}

Semantic roles & 50–950 ramp

primary
#E6D982
secondary
#4E5CBF
accent
#2FCF17
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #E6D982

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

Preview Lab → · Contrast checker → · Palette generator →

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