#EBC178#EBC178

#EBC178 is a very light, moderate orange. Relative luminance 0.572; OKLCH L 83.2% C 0.103 H 80.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#EBC178
RGBrgb(235, 193, 120)
HSLhsl(38, 74%, 70%)
HSVhsv(38, 49%, 92%)
CMYKcmyk(0%, 17.9%, 48.9%, 7.8%)
CIE-LABlab(80.27, 6.01, 42.20)
CIE-LCHlch(80.27, 42.63, 81.90°)
OKLaboklab(83.22% 0.0172 0.1017)
OKLCHoklch(83.22% 0.103 80.4)
XYZxyz(56.7233, 57.1612, 25.8111)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC178 #78A2EB
analogous
#EB8878 #EBC178 #DCEB78
triadic
#EBC178 #78EBC1 #C178EB
tetradic
#EBC178 #78EB88 #78A2EB #EB78DC
square
#EBC178 #78EB88 #78A2EB #EB78DC
split-complementary
#EBC178 #78DCEB #8878EB
monochromatic
#CB8C1E #E3A943 #EBC178 #F3D9AD #FBF2E3

Accessibility & contrast

On white

1.69
#EBC178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#EBC178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC178
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC178#FFFFFF#000000##000000
##EBC1781.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C172
Deuteranopia (green-blind)
#DDCB7A
Tritanopia (blue-blind)
#FBB4AF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ebc178;
/* rgb */ color: rgb(235, 193, 120);
/* oklch */ color: oklch(83.2% 0.103 80.4);
Tailwind
colors: {
  custom: {
    50: '#f4d3a0',
    500: '#ebc178',
    950: '#000000',
  },
}
SCSS
$custom: #ebc178;
$custom-light: #f4d3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc178",
  "rgb": {
    "r": 235,
    "g": 193,
    "b": 120
  },
  "hsl": {
    "h": 38.087,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83218,
    "c": 0.10317,
    "h": 80.4
  },
  "luminance": 0.57158
}

Semantic roles & 50–950 ramp

primary
#EBC178
secondary
#4472C4
accent
#58D60F
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #EBC178

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

Preview Lab → · Contrast checker → · Palette generator →

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