#EBC54C#EBC54C

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

Color values

HEX#EBC54C
RGBrgb(235, 197, 76)
HSLhsl(46, 80%, 61%)
HSVhsv(46, 68%, 92%)
CMYKcmyk(0%, 16.2%, 67.7%, 7.8%)
CIE-LABlab(80.81, 0.74, 63.32)
CIE-LCHlch(80.81, 63.32, 89.33°)
OKLaboklab(83.49% -0.0034 0.1424)
OKLCHoklch(83.49% 0.142 91.4)
XYZxyz(55.5346, 58.1197, 15.1292)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC54C #4C72EB
analogous
#EB754C #EBC54C #C2EB4C
triadic
#EBC54C #4CEBC5 #C54CEB
tetradic
#EBC54C #4CEB75 #4C72EB #EB4CC2
square
#EBC54C #4CEB75 #4C72EB #EB4CC2
split-complementary
#EBC54C #4CC2EB #754CEB
monochromatic
#AA8613 #E1B119 #EBC54C #F1D783 #F7E9BA

Accessibility & contrast

On white

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

On black

12.62
#EBC54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC54C
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC54C#FFFFFF#000000##000000
##EBC54C1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23D
Deuteranopia (green-blind)
#E3CD52
Tritanopia (blue-blind)
#FEB6AC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ebc54c;
/* rgb */ color: rgb(235, 197, 76);
/* oklch */ color: oklch(83.5% 0.142 91.4);
Tailwind
colors: {
  custom: {
    50: '#f5d684',
    500: '#ebc54c',
    950: '#000000',
  },
}
SCSS
$custom: #ebc54c;
$custom-light: #f5d684;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc54c",
  "rgb": {
    "r": 235,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 45.66,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83489,
    "c": 0.14248,
    "h": 91.4
  },
  "luminance": 0.58116
}

Semantic roles & 50–950 ramp

primary
#EBC54C
secondary
#304EAB
accent
#3CDC09
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EBC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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