#EBCA52#EBCA52

#EBCA52 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.5% C 0.141 H 93.7°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#EBCA52
RGBrgb(235, 202, 82)
HSLhsl(47, 79%, 62%)
HSVhsv(47, 65%, 92%)
CMYKcmyk(0%, 14%, 65.1%, 7.8%)
CIE-LABlab(82.12, -1.50, 62.19)
CIE-LCHlch(82.12, 62.21, 91.38°)
OKLaboklab(84.54% -0.0091 0.141)
OKLCHoklch(84.54% 0.141 93.7)
XYZxyz(56.9072, 60.5154, 16.6642)
Luminance0.6051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCA52 #5273EB
analogous
#EB7E52 #EBCA52 #BFEB52
triadic
#EBCA52 #52EBCA #CA52EB
tetradic
#EBCA52 #52EB7E #5273EB #EB52BF
square
#EBCA52 #52EB7E #5273EB #EB52BF
split-complementary
#EBCA52 #52BFEB #7E52EB
monochromatic
#AE8D14 #E5B91B #EBCA52 #F1DB89 #F8ECC0

Accessibility & contrast

On white

1.60
#EBCA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#EBCA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCA52
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCA52#FFFFFF#000000##000000
##EBCA521.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC644
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#FDBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebca52;
/* rgb */ color: rgb(235, 202, 82);
/* oklch */ color: oklch(84.5% 0.141 93.7);
Tailwind
colors: {
  custom: {
    50: '#f5d988',
    500: '#ebca52',
    950: '#000000',
  },
}
SCSS
$custom: #ebca52;
$custom-light: #f5d988;
$custom-dark: #000000;
JSON
{
  "hex": "#ebca52",
  "rgb": {
    "r": 235,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 47.059,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84541,
    "c": 0.1413,
    "h": 93.7
  },
  "luminance": 0.60512
}

Semantic roles & 50–950 ramp

primary
#EBCA52
secondary
#324DAF
accent
#37DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCA52

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

Preview Lab → · Contrast checker → · Palette generator →

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