#EBD986#EBD986

#EBD986 is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.105 H 97.4°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#EBD986
RGBrgb(235, 217, 134)
HSLhsl(49, 72%, 72%)
HSVhsv(49, 43%, 92%)
CMYKcmyk(0%, 7.7%, 43%, 7.8%)
CIE-LABlab(86.51, -5.03, 43.04)
CIE-LCHlch(86.51, 43.33, 96.67°)
OKLaboklab(88.2% -0.0136 0.1045)
OKLCHoklch(88.2% 0.105 97.4)
XYZxyz(63.3784, 69.0113, 32.5316)
Luminance0.6901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD986 #8698EB
analogous
#EBA786 #EBD986 #CAEB86
triadic
#EBD986 #86EBD9 #D986EB
tetradic
#EBD986 #86EBA7 #8698EB #EB86CA
square
#EBD986 #86EBA7 #8698EB #EB86CA
split-complementary
#EBD986 #86CAEB #A786EB
monochromatic
#D4B423 #E2C951 #EBD986 #F4E9BB #FBF7E5

Accessibility & contrast

On white

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

On black

14.80
#EBD986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD986
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD986#FFFFFF#000000##000000
##EBD9861.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D580
Deuteranopia (green-blind)
#EDDB89
Tritanopia (blue-blind)
#F9CEC5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd986;
/* rgb */ color: rgb(235, 217, 134);
/* oklch */ color: oklch(88.2% 0.105 97.4);
Tailwind
colors: {
  custom: {
    50: '#f3e4aa',
    500: '#ebd986',
    950: '#000000',
  },
}
SCSS
$custom: #ebd986;
$custom-light: #f3e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd986",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 134
  },
  "hsl": {
    "h": 49.307,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88199,
    "c": 0.10535,
    "h": 97.4
  },
  "luminance": 0.69009
}

Semantic roles & 50–950 ramp

primary
#EBD986
secondary
#5065C5
accent
#34D412
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EBD986

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

Preview Lab → · Contrast checker → · Palette generator →

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