#EBC551#EBC551

#EBC551 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.5% C 0.139 H 90.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#EBC551
RGBrgb(235, 197, 81)
HSLhsl(45, 79%, 62%)
HSVhsv(45, 66%, 92%)
CMYKcmyk(0%, 16.2%, 65.5%, 7.8%)
CIE-LABlab(80.85, 1.02, 61.26)
CIE-LCHlch(80.85, 61.27, 89.05°)
OKLaboklab(83.53% -0.002 0.1389)
OKLCHoklch(83.53% 0.139 90.8)
XYZxyz(55.7152, 58.1919, 16.0805)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC551 #5177EB
analogous
#EB7851 #EBC551 #C4EB51
triadic
#EBC551 #51EBC5 #C551EB
tetradic
#EBC551 #51EB78 #5177EB #EB51C4
square
#EBC551 #51EB78 #5177EB #EB51C4
split-complementary
#EBC551 #51C4EB #7851EB
monochromatic
#AE8814 #E5B31A #EBC551 #F1D788 #F8EABF

Accessibility & contrast

On white

1.66
#EBC551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#EBC551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC551
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC551#FFFFFF#000000##000000
##EBC5511.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#E3CD56
Tritanopia (blue-blind)
#FDB6AC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ebc551;
/* rgb */ color: rgb(235, 197, 81);
/* oklch */ color: oklch(83.5% 0.139 90.8);
Tailwind
colors: {
  custom: {
    50: '#f5d687',
    500: '#ebc551',
    950: '#000000',
  },
}
SCSS
$custom: #ebc551;
$custom-light: #f5d687;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc551",
  "rgb": {
    "r": 235,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 45.195,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83533,
    "c": 0.13889,
    "h": 90.8
  },
  "luminance": 0.58189
}

Semantic roles & 50–950 ramp

primary
#EBC551
secondary
#3251AE
accent
#3EDC0A
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC551

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

Preview Lab → · Contrast checker → · Palette generator →

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