#EBC957#EBC957

#EBC957 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.4% C 0.137 H 92.6°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#EBC957
RGBrgb(235, 201, 87)
HSLhsl(46, 79%, 63%)
HSVhsv(46, 63%, 92%)
CMYKcmyk(0%, 14.5%, 63%, 7.8%)
CIE-LABlab(81.91, -0.69, 59.81)
CIE-LCHlch(81.91, 59.81, 90.66°)
OKLaboklab(84.39% -0.0062 0.1367)
OKLCHoklch(84.39% 0.137 92.6)
XYZxyz(56.8706, 60.1266, 17.6251)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC957 #5779EB
analogous
#EB7F57 #EBC957 #C3EB57
triadic
#EBC957 #57EBC9 #C957EB
tetradic
#EBC957 #57EB7F #5779EB #EB57C3
square
#EBC957 #57EB7F #5779EB #EB57C3
split-complementary
#EBC957 #57C3EB #7F57EB
monochromatic
#B28E15 #E4B720 #EBC957 #F2DB8E #F8ECC4

Accessibility & contrast

On white

1.61
#EBC957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#EBC957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC957
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC957#FFFFFF#000000##000000
##EBC9571.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#FDBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc957;
/* rgb */ color: rgb(235, 201, 87);
/* oklch */ color: oklch(84.4% 0.137 92.6);
Tailwind
colors: {
  custom: {
    50: '#f5d98b',
    500: '#ebc957',
    950: '#000000',
  },
}
SCSS
$custom: #ebc957;
$custom-light: #f5d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc957",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 87
  },
  "hsl": {
    "h": 46.216,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84388,
    "c": 0.13683,
    "h": 92.6
  },
  "luminance": 0.60124
}

Semantic roles & 50–950 ramp

primary
#EBC957
secondary
#3451B3
accent
#3ADB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC957

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

Preview Lab → · Contrast checker → · Palette generator →

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