#EBCC51#EBCC51

#EBCC51 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.143 H 94.9°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#EBCC51
RGBrgb(235, 204, 81)
HSLhsl(48, 79%, 62%)
HSVhsv(48, 66%, 92%)
CMYKcmyk(0%, 13.2%, 65.5%, 7.8%)
CIE-LABlab(82.62, -2.59, 63.14)
CIE-LCHlch(82.62, 63.19, 92.35°)
OKLaboklab(84.93% -0.0123 0.1429)
OKLCHoklch(84.93% 0.143 94.9)
XYZxyz(57.3417, 61.4449, 16.6227)
Luminance0.6144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC51 #5170EB
analogous
#EB7F51 #EBCC51 #BDEB51
triadic
#EBCC51 #51EBCC #CC51EB
tetradic
#EBCC51 #51EB7F #5170EB #EB51BD
square
#EBCC51 #51EB7F #5170EB #EB51BD
split-complementary
#EBCC51 #51BDEB #7F51EB
monochromatic
#AE8F14 #E5BC1A #EBCC51 #F1DC88 #F8ECBF

Accessibility & contrast

On white

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

On black

13.29
#EBCC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC51
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC51#FFFFFF#000000##000000
##EBCC511.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#FDBDB2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc51;
/* rgb */ color: rgb(235, 204, 81);
/* oklch */ color: oklch(84.9% 0.143 94.9);
Tailwind
colors: {
  custom: {
    50: '#f5db87',
    500: '#ebcc51',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc51;
$custom-light: #f5db87;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc51",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 47.922,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84933,
    "c": 0.1434,
    "h": 94.9
  },
  "luminance": 0.61442
}

Semantic roles & 50–950 ramp

primary
#EBCC51
secondary
#324BAE
accent
#34DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCC51

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

Preview Lab → · Contrast checker → · Palette generator →

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