#EBCA56#EBCA56

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

Color values

HEX#EBCA56
RGBrgb(235, 202, 86)
HSLhsl(47, 79%, 63%)
HSVhsv(47, 63%, 92%)
CMYKcmyk(0%, 14%, 63.4%, 7.8%)
CIE-LABlab(82.15, -1.26, 60.51)
CIE-LCHlch(82.15, 60.52, 91.19°)
OKLaboklab(84.58% -0.0079 0.138)
OKLCHoklch(84.58% 0.138 93.3)
XYZxyz(57.0639, 60.5781, 17.4893)
Luminance0.6058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCA56 #5677EB
analogous
#EB7F56 #EBCA56 #C2EB56
triadic
#EBCA56 #56EBCA #CA56EB
tetradic
#EBCA56 #56EB7F #5677EB #EB56C2
square
#EBCA56 #56EB7F #5677EB #EB56C2
split-complementary
#EBCA56 #56C2EB #7F56EB
monochromatic
#B28F15 #E5B91F #EBCA56 #F1DB8D #F8ECC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBCA56#FFFFFF#000000##000000
##EBCA561.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)
#DEC749
Deuteranopia (green-blind)
#E6D15B
Tritanopia (blue-blind)
#FDBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebca56;
/* rgb */ color: rgb(235, 202, 86);
/* oklch */ color: oklch(84.6% 0.138 93.3);
Tailwind
colors: {
  custom: {
    50: '#f5d98a',
    500: '#ebca56',
    950: '#000000',
  },
}
SCSS
$custom: #ebca56;
$custom-light: #f5d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebca56",
  "rgb": {
    "r": 235,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 46.711,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84578,
    "c": 0.13827,
    "h": 93.3
  },
  "luminance": 0.60575
}

Semantic roles & 50–950 ramp

primary
#EBCA56
secondary
#334FB2
accent
#39DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCA56

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

Preview Lab → · Contrast checker → · Palette generator →

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