#EBD982#EBD982

#EBD982 is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.1% C 0.110 H 97.9°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#EBD982
RGBrgb(235, 217, 130)
HSLhsl(50, 72%, 72%)
HSVhsv(50, 45%, 92%)
CMYKcmyk(0%, 7.7%, 44.7%, 7.8%)
CIE-LABlab(86.46, -5.43, 44.95)
CIE-LCHlch(86.46, 45.27, 96.88°)
OKLaboklab(88.14% -0.0151 0.1085)
OKLCHoklch(88.14% 0.11 97.9)
XYZxyz(63.1047, 68.9018, 31.0900)
Luminance0.6890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD982 #8294EB
analogous
#EBA582 #EBD982 #C9EB82
triadic
#EBD982 #82EBD9 #D982EB
tetradic
#EBD982 #82EBA5 #8294EB #EB82C9
square
#EBD982 #82EBA5 #8294EB #EB82C9
split-complementary
#EBD982 #82C9EB #A582EB
monochromatic
#D1B321 #E3C94D #EBD982 #F3E9B7 #FBF7E5

Accessibility & contrast

On white

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

On black

14.78
#EBD982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD982
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD982#FFFFFF#000000##000000
##EBD9821.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D57B
Deuteranopia (green-blind)
#EEDB85
Tritanopia (blue-blind)
#F9CDC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd982;
/* rgb */ color: rgb(235, 217, 130);
/* oklch */ color: oklch(88.1% 0.110 97.9);
Tailwind
colors: {
  custom: {
    50: '#f3e4a8',
    500: '#ebd982',
    950: '#000000',
  },
}
SCSS
$custom: #ebd982;
$custom-light: #f3e4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd982",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 49.714,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88138,
    "c": 0.10958,
    "h": 97.9
  },
  "luminance": 0.689
}

Semantic roles & 50–950 ramp

primary
#EBD982
secondary
#4D61C5
accent
#33D411
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #EBD982

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

Preview Lab → · Contrast checker → · Palette generator →

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