#EBCB52#EBCB52

#EBCB52 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.142 H 94.3°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#EBCB52
RGBrgb(235, 203, 82)
HSLhsl(47, 79%, 62%)
HSVhsv(47, 65%, 92%)
CMYKcmyk(0%, 13.6%, 65.1%, 7.8%)
CIE-LABlab(82.37, -2.02, 62.46)
CIE-LCHlch(82.37, 62.49, 91.85°)
OKLaboklab(84.74% -0.0106 0.1416)
OKLCHoklch(84.74% 0.142 94.3)
XYZxyz(57.1426, 60.9862, 16.7427)
Luminance0.6098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCB52 #5272EB
analogous
#EB7F52 #EBCB52 #BFEB52
triadic
#EBCB52 #52EBCB #CB52EB
tetradic
#EBCB52 #52EB7F #5272EB #EB52BF
square
#EBCB52 #52EB7F #5272EB #EB52BF
split-complementary
#EBCB52 #52BFEB #7F52EB
monochromatic
#AE8E14 #E5BB1B #EBCB52 #F1DB89 #F8ECC0

Accessibility & contrast

On white

1.59
#EBCB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#EBCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCB52
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCB52#FFFFFF#000000##000000
##EBCB521.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#FDBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebcb52;
/* rgb */ color: rgb(235, 203, 82);
/* oklch */ color: oklch(84.7% 0.142 94.3);
Tailwind
colors: {
  custom: {
    50: '#f5da88',
    500: '#ebcb52',
    950: '#000000',
  },
}
SCSS
$custom: #ebcb52;
$custom-light: #f5da88;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcb52",
  "rgb": {
    "r": 235,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 47.451,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84741,
    "c": 0.14197,
    "h": 94.3
  },
  "luminance": 0.60983
}

Semantic roles & 50–950 ramp

primary
#EBCB52
secondary
#324CAF
accent
#36DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCB52

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

Preview Lab → · Contrast checker → · Palette generator →

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