#EBC857#EBC857

#EBC857 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.2% C 0.136 H 92.0°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#EBC857
RGBrgb(235, 200, 87)
HSLhsl(46, 79%, 63%)
HSVhsv(46, 63%, 92%)
CMYKcmyk(0%, 14.9%, 63%, 7.8%)
CIE-LABlab(81.65, -0.17, 59.53)
CIE-LCHlch(81.65, 59.53, 90.16°)
OKLaboklab(84.19% -0.0047 0.1361)
OKLCHoklch(84.19% 0.136 92)
XYZxyz(56.6382, 59.6619, 17.5476)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC857 #577AEB
analogous
#EB7E57 #EBC857 #C4EB57
triadic
#EBC857 #57EBC8 #C857EB
tetradic
#EBC857 #57EB7E #577AEB #EB57C4
square
#EBC857 #57EB7E #577AEB #EB57C4
split-complementary
#EBC857 #57C4EB #7E57EB
monochromatic
#B28D15 #E4B620 #EBC857 #F2DA8E #F8ECC4

Accessibility & contrast

On white

1.62
#EBC857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#EBC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC857
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC857#FFFFFF#000000##000000
##EBC8571.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#E5CF5C
Tritanopia (blue-blind)
#FDB9B0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ebc857;
/* rgb */ color: rgb(235, 200, 87);
/* oklch */ color: oklch(84.2% 0.136 92.0);
Tailwind
colors: {
  custom: {
    50: '#f5d88b',
    500: '#ebc857',
    950: '#000000',
  },
}
SCSS
$custom: #ebc857;
$custom-light: #f5d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc857",
  "rgb": {
    "r": 235,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 45.811,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84188,
    "c": 0.13618,
    "h": 92
  },
  "luminance": 0.59659
}

Semantic roles & 50–950 ramp

primary
#EBC857
secondary
#3452B3
accent
#3CDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC857

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

Preview Lab → · Contrast checker → · Palette generator →

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