#EBC158#EBC158

#EBC158 is a very light, vivid orange. Relative luminance 0.565; OKLCH L 82.8% C 0.131 H 87.3°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#EBC158
RGBrgb(235, 193, 88)
HSLhsl(43, 79%, 63%)
HSVhsv(43, 63%, 92%)
CMYKcmyk(0%, 17.9%, 62.6%, 7.8%)
CIE-LABlab(79.90, 3.52, 57.16)
CIE-LCHlch(79.90, 57.27, 86.47°)
OKLaboklab(82.81% 0.0061 0.1312)
OKLCHoklch(82.81% 0.131 87.3)
XYZxyz(55.0952, 56.5099, 17.2362)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC158 #5882EB
analogous
#EB7758 #EBC158 #CCEB58
triadic
#EBC158 #58EBC1 #C158EB
tetradic
#EBC158 #58EB77 #5882EB #EB58CC
square
#EBC158 #58EB77 #5882EB #EB58CC
split-complementary
#EBC158 #58CCEB #7758EB
monochromatic
#B38615 #E4AD21 #EBC158 #F2D58F #F8EAC5

Accessibility & contrast

On white

1.71
#EBC158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#EBC158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC158
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC158#FFFFFF#000000##000000
##EBC1581.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04D
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#FDB2AA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ebc158;
/* rgb */ color: rgb(235, 193, 88);
/* oklch */ color: oklch(82.8% 0.131 87.3);
Tailwind
colors: {
  custom: {
    50: '#f5d38b',
    500: '#ebc158',
    950: '#000000',
  },
}
SCSS
$custom: #ebc158;
$custom-light: #f5d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc158",
  "rgb": {
    "r": 235,
    "g": 193,
    "b": 88
  },
  "hsl": {
    "h": 42.857,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82811,
    "c": 0.13132,
    "h": 87.3
  },
  "luminance": 0.56507
}

Semantic roles & 50–950 ramp

primary
#EBC158
secondary
#3458B3
accent
#46DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC158

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

Preview Lab → · Contrast checker → · Palette generator →

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