#EBC54F#EBC54F

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

Color values

HEX#EBC54F
RGBrgb(235, 197, 79)
HSLhsl(45, 80%, 62%)
HSVhsv(45, 66%, 92%)
CMYKcmyk(0%, 16.2%, 66.4%, 7.8%)
CIE-LABlab(80.83, 0.90, 62.09)
CIE-LCHlch(80.83, 62.10, 89.17°)
OKLaboklab(83.52% -0.0025 0.1403)
OKLCHoklch(83.52% 0.14 91)
XYZxyz(55.6413, 58.1624, 15.6914)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC54F #4F75EB
analogous
#EB774F #EBC54F #C3EB4F
triadic
#EBC54F #4FEBC5 #C54FEB
tetradic
#EBC54F #4FEB77 #4F75EB #EB4FC3
square
#EBC54F #4FEB77 #4F75EB #EB4FC3
split-complementary
#EBC54F #4FC3EB #774FEB
monochromatic
#AC8714 #E3B21A #EBC54F #F1D786 #F7E9BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBC54F#FFFFFF#000000##000000
##EBC54F1.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)
#DAC241
Deuteranopia (green-blind)
#E3CD55
Tritanopia (blue-blind)
#FDB6AC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ebc54f;
/* rgb */ color: rgb(235, 197, 79);
/* oklch */ color: oklch(83.5% 0.140 91.0);
Tailwind
colors: {
  custom: {
    50: '#f5d686',
    500: '#ebc54f',
    950: '#000000',
  },
}
SCSS
$custom: #ebc54f;
$custom-light: #f5d686;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc54f",
  "rgb": {
    "r": 235,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 45.385,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83515,
    "c": 0.14035,
    "h": 91
  },
  "luminance": 0.58159
}

Semantic roles & 50–950 ramp

primary
#EBC54F
secondary
#314FAD
accent
#3DDC0A
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EBC54F

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

Preview Lab → · Contrast checker → · Palette generator →

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