#EBC987#EBC987

#EBC987 is a very light, moderate orange. Relative luminance 0.612; OKLCH L 85.0% C 0.092 H 83.4°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#EBC987
RGBrgb(235, 201, 135)
HSLhsl(40, 71%, 73%)
HSVhsv(40, 43%, 92%)
CMYKcmyk(0%, 14.5%, 42.6%, 7.8%)
CIE-LABlab(82.48, 3.30, 37.39)
CIE-LCHlch(82.48, 37.53, 84.96°)
OKLaboklab(85.02% 0.0107 0.0916)
OKLCHoklch(85.02% 0.092 83.4)
XYZxyz(59.5225, 61.1874, 31.5920)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC987 #87A9EB
analogous
#EB9787 #EBC987 #DBEB87
triadic
#EBC987 #87EBC9 #C987EB
tetradic
#EBC987 #87EB97 #87A9EB #EB87DB
square
#EBC987 #87EB97 #87A9EB #EB87DB
split-complementary
#EBC987 #87DBEB #9787EB
monochromatic
#D49823 #E2B153 #EBC987 #F4E1BB #FBF3E5

Accessibility & contrast

On white

1.59
#EBC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#EBC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC987
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC987#FFFFFF#000000##000000
##EBC9871.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C882
Deuteranopia (green-blind)
#E1D189
Tritanopia (blue-blind)
#FABEB8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebc987;
/* rgb */ color: rgb(235, 201, 135);
/* oklch */ color: oklch(85.0% 0.092 83.4);
Tailwind
colors: {
  custom: {
    50: '#f3d9ab',
    500: '#ebc987',
    950: '#000000',
  },
}
SCSS
$custom: #ebc987;
$custom-light: #f3d9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc987",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 39.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.85024,
    "c": 0.09225,
    "h": 83.4
  },
  "luminance": 0.61185
}

Semantic roles & 50–950 ramp

primary
#EBC987
secondary
#5179C5
accent
#54D312
background
#FFFEFD
surface
#FEFBF7
border
#D6D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #EBC987

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

Preview Lab → · Contrast checker → · Palette generator →

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