#EBC978#EBC978

#EBC978 is a very light, moderate orange. Relative luminance 0.608; OKLCH L 84.8% C 0.107 H 87.3°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#EBC978
RGBrgb(235, 201, 120)
HSLhsl(42, 74%, 70%)
HSVhsv(42, 49%, 92%)
CMYKcmyk(0%, 14.5%, 48.9%, 7.8%)
CIE-LABlab(82.27, 1.84, 44.69)
CIE-LCHlch(82.27, 44.73, 87.64°)
OKLaboklab(84.79% 0.005 0.1073)
OKLCHoklch(84.79% 0.107 87.3)
XYZxyz(58.5399, 60.7943, 26.4166)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC978 #789AEB
analogous
#EB9078 #EBC978 #D4EB78
triadic
#EBC978 #78EBC9 #C978EB
tetradic
#EBC978 #78EB90 #789AEB #EB78D4
square
#EBC978 #78EB90 #789AEB #EB78D4
split-complementary
#EBC978 #78D4EB #9078EB
monochromatic
#CB981E #E3B443 #EBC978 #F3DEAD #FBF4E3

Accessibility & contrast

On white

1.60
#EBC978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#EBC978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC978
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC978#FFFFFF#000000##000000
##EBC9781.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#E3D17B
Tritanopia (blue-blind)
#FBBDB5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebc978;
/* rgb */ color: rgb(235, 201, 120);
/* oklch */ color: oklch(84.8% 0.107 87.3);
Tailwind
colors: {
  custom: {
    50: '#f4d9a0',
    500: '#ebc978',
    950: '#000000',
  },
}
SCSS
$custom: #ebc978;
$custom-light: #f4d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc978",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 42.261,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84789,
    "c": 0.10741,
    "h": 87.3
  },
  "luminance": 0.60792
}

Semantic roles & 50–950 ramp

primary
#EBC978
secondary
#4469C4
accent
#4AD60F
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #EBC978

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

Preview Lab → · Contrast checker → · Palette generator →

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