#EBC858#EBC858

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

Color values

HEX#EBC858
RGBrgb(235, 200, 88)
HSLhsl(46, 79%, 63%)
HSVhsv(46, 63%, 92%)
CMYKcmyk(0%, 14.9%, 62.6%, 7.8%)
CIE-LABlab(81.66, -0.11, 59.10)
CIE-LCHlch(81.66, 59.10, 90.10°)
OKLaboklab(84.2% -0.0044 0.1353)
OKLCHoklch(84.2% 0.135 91.8)
XYZxyz(56.6794, 59.6784, 17.7643)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC858 #587BEB
analogous
#EB7E58 #EBC858 #C5EB58
triadic
#EBC858 #58EBC8 #C858EB
tetradic
#EBC858 #58EB7E #587BEB #EB58C5
square
#EBC858 #58EB7E #587BEB #EB58C5
split-complementary
#EBC858 #58C5EB #7E58EB
monochromatic
#B38E15 #E4B621 #EBC858 #F2DA8F #F8ECC5

Accessibility & contrast

On white

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

On black

12.94
#EBC858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC858
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC858#FFFFFF#000000##000000
##EBC8581.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebc858;
/* rgb */ color: rgb(235, 200, 88);
/* oklch */ color: oklch(84.2% 0.135 91.8);
Tailwind
colors: {
  custom: {
    50: '#f5d88b',
    500: '#ebc858',
    950: '#000000',
  },
}
SCSS
$custom: #ebc858;
$custom-light: #f5d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc858",
  "rgb": {
    "r": 235,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 45.714,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84198,
    "c": 0.13539,
    "h": 91.8
  },
  "luminance": 0.59675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBC858

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

Preview Lab → · Contrast checker → · Palette generator →

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