#EBCA57#EBCA57

#EBCA57 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.6% C 0.137 H 93.2°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#EBCA57
RGBrgb(235, 202, 87)
HSLhsl(47, 79%, 63%)
HSVhsv(47, 63%, 92%)
CMYKcmyk(0%, 14%, 63%, 7.8%)
CIE-LABlab(82.16, -1.20, 60.08)
CIE-LCHlch(82.16, 60.09, 91.14°)
OKLaboklab(84.59% -0.0076 0.1373)
OKLCHoklch(84.59% 0.137 93.2)
XYZxyz(57.1045, 60.5943, 17.7030)
Luminance0.6059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCA57 #5778EB
analogous
#EB8057 #EBCA57 #C2EB57
triadic
#EBCA57 #57EBCA #CA57EB
tetradic
#EBCA57 #57EB80 #5778EB #EB57C2
square
#EBCA57 #57EB80 #5778EB #EB57C2
split-complementary
#EBCA57 #57C2EB #8057EB
monochromatic
#B28F15 #E4B920 #EBCA57 #F2DB8E #F8EDC4

Accessibility & contrast

On white

1.60
#EBCA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#EBCA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCA57
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCA57#FFFFFF#000000##000000
##EBCA571.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74A
Deuteranopia (green-blind)
#E6D15C
Tritanopia (blue-blind)
#FDBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebca57;
/* rgb */ color: rgb(235, 202, 87);
/* oklch */ color: oklch(84.6% 0.137 93.2);
Tailwind
colors: {
  custom: {
    50: '#f5d98b',
    500: '#ebca57',
    950: '#000000',
  },
}
SCSS
$custom: #ebca57;
$custom-light: #f5d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebca57",
  "rgb": {
    "r": 235,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 46.622,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84588,
    "c": 0.13748,
    "h": 93.2
  },
  "luminance": 0.60591
}

Semantic roles & 50–950 ramp

primary
#EBCA57
secondary
#3450B3
accent
#39DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCA57

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

Preview Lab → · Contrast checker → · Palette generator →

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