#EBEA52#EBEA52

#EBEA52 is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.1% C 0.168 H 109.0°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#EBEA52
RGBrgb(235, 234, 82)
HSLhsl(60, 79%, 62%)
HSVhsv(60, 65%, 92%)
CMYKcmyk(0%, 0.4%, 65.1%, 7.8%)
CIE-LABlab(90.38, -17.53, 70.81)
CIE-LCHlch(90.38, 72.94, 103.91°)
OKLaboklab(91.1% -0.0547 0.1592)
OKLCHoklch(91.1% 0.168 109)
XYZxyz(65.2090, 77.1189, 19.4315)
Luminance0.7712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEA52 #5253EB
analogous
#EB9E52 #EBEA52 #9FEB52
triadic
#EBEA52 #52EBEA #EA52EB
tetradic
#EBEA52 #52EB9E #5253EB #EB529F
square
#EBEA52 #52EB9E #5253EB #EB529F
split-complementary
#EBEA52 #529FEB #9E52EB
monochromatic
#AEAD14 #E5E31B #EBEA52 #F1F189 #F8F7C0

Accessibility & contrast

On white

1.28
#EBEA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#EBEA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEA52
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEA52#FFFFFF#000000##000000
##EBEA521.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE13D
Deuteranopia (green-blind)
#FEE65C
Tritanopia (blue-blind)
#FBDCCB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebea52;
/* rgb */ color: rgb(235, 234, 82);
/* oklch */ color: oklch(91.1% 0.168 109.0);
Tailwind
colors: {
  custom: {
    50: '#f5f08a',
    500: '#ebea52',
    950: '#000000',
  },
}
SCSS
$custom: #ebea52;
$custom-light: #f5f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebea52",
  "rgb": {
    "r": 235,
    "g": 234,
    "b": 82
  },
  "hsl": {
    "h": 59.608,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.911,
    "c": 0.16835,
    "h": 109
  },
  "luminance": 0.77117
}

Semantic roles & 50–950 ramp

primary
#EBEA52
secondary
#3233AF
accent
#0BDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #EBEA52

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

Preview Lab → · Contrast checker → · Palette generator →

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