#EBC157#EBC157

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

Color values

HEX#EBC157
RGBrgb(235, 193, 87)
HSLhsl(43, 79%, 63%)
HSVhsv(43, 63%, 92%)
CMYKcmyk(0%, 17.9%, 63%, 7.8%)
CIE-LABlab(79.89, 3.46, 57.60)
CIE-LCHlch(79.89, 57.70, 86.57°)
OKLaboklab(82.8% 0.0058 0.132)
OKLCHoklch(82.8% 0.132 87.5)
XYZxyz(55.0540, 56.4935, 17.0195)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC157 #5781EB
analogous
#EB7757 #EBC157 #CBEB57
triadic
#EBC157 #57EBC1 #C157EB
tetradic
#EBC157 #57EB77 #5781EB #EB57CB
square
#EBC157 #57EB77 #5781EB #EB57CB
split-complementary
#EBC157 #57CBEB #7757EB
monochromatic
#B28615 #E4AD20 #EBC157 #F2D58E #F8E9C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBC157#FFFFFF#000000##000000
##EBC1571.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)
#D5BF4C
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#FDB2AA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ebc157;
/* rgb */ color: rgb(235, 193, 87);
/* oklch */ color: oklch(82.8% 0.132 87.5);
Tailwind
colors: {
  custom: {
    50: '#f5d38a',
    500: '#ebc157',
    950: '#000000',
  },
}
SCSS
$custom: #ebc157;
$custom-light: #f5d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc157",
  "rgb": {
    "r": 235,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 42.973,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.828,
    "c": 0.13211,
    "h": 87.5
  },
  "luminance": 0.5649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBC157

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

Preview Lab → · Contrast checker → · Palette generator →

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