#EBC478#EBC478

#EBC478 is a very light, moderate orange. Relative luminance 0.585; OKLCH L 83.8% C 0.105 H 83.1°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#EBC478
RGBrgb(235, 196, 120)
HSLhsl(40, 74%, 70%)
HSVhsv(40, 49%, 92%)
CMYKcmyk(0%, 16.6%, 48.9%, 7.8%)
CIE-LABlab(81.02, 4.44, 43.14)
CIE-LCHlch(81.02, 43.36, 84.12°)
OKLaboklab(83.8% 0.0126 0.1038)
OKLCHoklch(83.8% 0.105 83.1)
XYZxyz(57.3932, 58.5010, 26.0344)
Luminance0.5850 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC478 #789FEB
analogous
#EB8B78 #EBC478 #D9EB78
triadic
#EBC478 #78EBC4 #C478EB
tetradic
#EBC478 #78EB8B #789FEB #EB78D9
square
#EBC478 #78EB8B #789FEB #EB78D9
split-complementary
#EBC478 #78D9EB #8B78EB
monochromatic
#CB901E #E3AD43 #EBC478 #F3DBAD #FBF3E3

Accessibility & contrast

On white

1.65
#EBC478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#EBC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC478
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC478#FFFFFF#000000##000000
##EBC4781.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C372
Deuteranopia (green-blind)
#DFCD7A
Tritanopia (blue-blind)
#FBB7B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ebc478;
/* rgb */ color: rgb(235, 196, 120);
/* oklch */ color: oklch(83.8% 0.105 83.1);
Tailwind
colors: {
  custom: {
    50: '#f4d5a0',
    500: '#ebc478',
    950: '#000000',
  },
}
SCSS
$custom: #ebc478;
$custom-light: #f4d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc478",
  "rgb": {
    "r": 235,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 39.652,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83804,
    "c": 0.10458,
    "h": 83.1
  },
  "luminance": 0.58498
}

Semantic roles & 50–950 ramp

primary
#EBC478
secondary
#446FC4
accent
#53D60F
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #EBC478

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

Preview Lab → · Contrast checker → · Palette generator →

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