#EBCA51#EBCA51

#EBCA51 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.5% C 0.142 H 93.8°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#EBCA51
RGBrgb(235, 202, 81)
HSLhsl(47, 79%, 62%)
HSVhsv(47, 66%, 92%)
CMYKcmyk(0%, 14%, 65.5%, 7.8%)
CIE-LABlab(82.11, -1.56, 62.60)
CIE-LCHlch(82.11, 62.62, 91.43°)
OKLaboklab(84.53% -0.0094 0.1417)
OKLCHoklch(84.53% 0.142 93.8)
XYZxyz(56.8694, 60.5003, 16.4653)
Luminance0.6050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCA51 #5172EB
analogous
#EB7D51 #EBCA51 #BFEB51
triadic
#EBCA51 #51EBCA #CA51EB
tetradic
#EBCA51 #51EB7D #5172EB #EB51BF
square
#EBCA51 #51EB7D #5172EB #EB51BF
split-complementary
#EBCA51 #51BFEB #7D51EB
monochromatic
#AE8D14 #E5B91A #EBCA51 #F1DB88 #F8EBBF

Accessibility & contrast

On white

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

On black

13.10
#EBCA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCA51
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCA51#FFFFFF#000000##000000
##EBCA511.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebca51;
/* rgb */ color: rgb(235, 202, 81);
/* oklch */ color: oklch(84.5% 0.142 93.8);
Tailwind
colors: {
  custom: {
    50: '#f5d987',
    500: '#ebca51',
    950: '#000000',
  },
}
SCSS
$custom: #ebca51;
$custom-light: #f5d987;
$custom-dark: #000000;
JSON
{
  "hex": "#ebca51",
  "rgb": {
    "r": 235,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 47.143,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84531,
    "c": 0.14204,
    "h": 93.8
  },
  "luminance": 0.60497
}

Semantic roles & 50–950 ramp

primary
#EBCA51
secondary
#324DAE
accent
#37DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCA51

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

Preview Lab → · Contrast checker → · Palette generator →

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