#EBC54E#EBC54E

#EBC54E is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.5% C 0.141 H 91.1°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#EBC54E
RGBrgb(235, 197, 78)
HSLhsl(45, 80%, 61%)
HSVhsv(45, 67%, 92%)
CMYKcmyk(0%, 16.2%, 66.8%, 7.8%)
CIE-LABlab(80.82, 0.85, 62.50)
CIE-LCHlch(80.82, 62.51, 89.22°)
OKLaboklab(83.51% -0.0028 0.141)
OKLCHoklch(83.51% 0.141 91.1)
XYZxyz(55.6052, 58.1479, 15.5011)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC54E #4E74EB
analogous
#EB774E #EBC54E #C2EB4E
triadic
#EBC54E #4EEBC5 #C54EEB
tetradic
#EBC54E #4EEB77 #4E74EB #EB4EC2
square
#EBC54E #4EEB77 #4E74EB #EB4EC2
split-complementary
#EBC54E #4EC2EB #774EEB
monochromatic
#AB8613 #E2B21A #EBC54E #F1D785 #F7E9BC

Accessibility & contrast

On white

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

On black

12.63
#EBC54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC54E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC54E#FFFFFF#000000##000000
##EBC54E1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebc54e;
/* rgb */ color: rgb(235, 197, 78);
/* oklch */ color: oklch(83.5% 0.141 91.1);
Tailwind
colors: {
  custom: {
    50: '#f5d685',
    500: '#ebc54e',
    950: '#000000',
  },
}
SCSS
$custom: #ebc54e;
$custom-light: #f5d685;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc54e",
  "rgb": {
    "r": 235,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 45.478,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83506,
    "c": 0.14107,
    "h": 91.1
  },
  "luminance": 0.58145
}

Semantic roles & 50–950 ramp

primary
#EBC54E
secondary
#314FAC
accent
#3CDC09
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EBC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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