#EBC552#EBC552

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

Color values

HEX#EBC552
RGBrgb(235, 197, 82)
HSLhsl(45, 79%, 62%)
HSVhsv(45, 65%, 92%)
CMYKcmyk(0%, 16.2%, 65.1%, 7.8%)
CIE-LABlab(80.85, 1.08, 60.84)
CIE-LCHlch(80.85, 60.85, 88.99°)
OKLaboklab(83.54% -0.0017 0.1381)
OKLCHoklch(83.54% 0.138 90.7)
XYZxyz(55.7530, 58.2070, 16.2795)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC552 #5278EB
analogous
#EB7952 #EBC552 #C5EB52
triadic
#EBC552 #52EBC5 #C552EB
tetradic
#EBC552 #52EB79 #5278EB #EB52C5
square
#EBC552 #52EB79 #5278EB #EB52C5
split-complementary
#EBC552 #52C5EB #7952EB
monochromatic
#AE8814 #E5B31B #EBC552 #F1D789 #F8EAC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBC552#FFFFFF#000000##000000
##EBC5521.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)
#D9C245
Deuteranopia (green-blind)
#E3CD57
Tritanopia (blue-blind)
#FDB6AD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ebc552;
/* rgb */ color: rgb(235, 197, 82);
/* oklch */ color: oklch(83.5% 0.138 90.7);
Tailwind
colors: {
  custom: {
    50: '#f5d687',
    500: '#ebc552',
    950: '#000000',
  },
}
SCSS
$custom: #ebc552;
$custom-light: #f5d687;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc552",
  "rgb": {
    "r": 235,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 45.098,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83543,
    "c": 0.13815,
    "h": 90.7
  },
  "luminance": 0.58204
}

Semantic roles & 50–950 ramp

primary
#EBC552
secondary
#3251AF
accent
#3EDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC552

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

Preview Lab → · Contrast checker → · Palette generator →

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