#EBCC57#EBCC57

#EBCC57 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 85.0% C 0.139 H 94.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#EBCC57
RGBrgb(235, 204, 87)
HSLhsl(47, 79%, 63%)
HSVhsv(47, 63%, 92%)
CMYKcmyk(0%, 13.2%, 63%, 7.8%)
CIE-LABlab(82.67, -2.23, 60.64)
CIE-LCHlch(82.67, 60.68, 92.10°)
OKLaboklab(84.99% -0.0106 0.1385)
OKLCHoklch(84.99% 0.139 94.4)
XYZxyz(57.5768, 61.5390, 17.8604)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC57 #5776EB
analogous
#EB8257 #EBCC57 #C0EB57
triadic
#EBCC57 #57EBCC #CC57EB
tetradic
#EBCC57 #57EB82 #5776EB #EB57C0
square
#EBCC57 #57EB82 #5776EB #EB57C0
split-complementary
#EBCC57 #57C0EB #8257EB
monochromatic
#B29115 #E4BB20 #EBCC57 #F2DD8E #F8EDC4

Accessibility & contrast

On white

1.58
#EBCC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#EBCC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC57
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC57#FFFFFF#000000##000000
##EBCC571.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C84A
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#FDBDB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc57;
/* rgb */ color: rgb(235, 204, 87);
/* oklch */ color: oklch(85.0% 0.139 94.4);
Tailwind
colors: {
  custom: {
    50: '#f5db8b',
    500: '#ebcc57',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc57;
$custom-light: #f5db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc57",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 47.432,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84989,
    "c": 0.13886,
    "h": 94.4
  },
  "luminance": 0.61536
}

Semantic roles & 50–950 ramp

primary
#EBCC57
secondary
#344EB3
accent
#36DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCC57

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

Preview Lab → · Contrast checker → · Palette generator →

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