#EBC981#EBC981

#EBC981 is a very light, moderate orange. Relative luminance 0.610; OKLCH L 84.9% C 0.098 H 85.1°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#EBC981
RGBrgb(235, 201, 129)
HSLhsl(41, 73%, 71%)
HSVhsv(41, 45%, 92%)
CMYKcmyk(0%, 14.5%, 45.1%, 7.8%)
CIE-LABlab(82.39, 2.69, 40.33)
CIE-LCHlch(82.39, 40.42, 86.18°)
OKLaboklab(84.93% 0.0084 0.098)
OKLCHoklch(84.93% 0.098 85.1)
XYZxyz(59.1120, 61.0232, 29.4296)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC981 #81A3EB
analogous
#EB9481 #EBC981 #D8EB81
triadic
#EBC981 #81EBC9 #C981EB
tetradic
#EBC981 #81EB94 #81A3EB #EB81D8
square
#EBC981 #81EB94 #81A3EB #EB81D8
split-complementary
#EBC981 #81D8EB #9481EB
monochromatic
#D19821 #E3B24C #EBC981 #F3E0B6 #FBF4E5

Accessibility & contrast

On white

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

On black

13.20
#EBC981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC981
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC981#FFFFFF#000000##000000
##EBC9811.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C87B
Deuteranopia (green-blind)
#E2D183
Tritanopia (blue-blind)
#FABDB7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebc981;
/* rgb */ color: rgb(235, 201, 129);
/* oklch */ color: oklch(84.9% 0.098 85.1);
Tailwind
colors: {
  custom: {
    50: '#f3d9a6',
    500: '#ebc981',
    950: '#000000',
  },
}
SCSS
$custom: #ebc981;
$custom-light: #f3d9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc981",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 40.755,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.84926,
    "c": 0.0984,
    "h": 85.1
  },
  "luminance": 0.6102
}

Semantic roles & 50–950 ramp

primary
#EBC981
secondary
#4C72C5
accent
#50D511
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #EBC981

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

Preview Lab → · Contrast checker → · Palette generator →

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