#EBCC5A#EBCC5A

#EBCC5A is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.136 H 94.1°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#EBCC5A
RGBrgb(235, 204, 90)
HSLhsl(47, 78%, 64%)
HSVhsv(47, 62%, 92%)
CMYKcmyk(0%, 13.2%, 61.7%, 7.8%)
CIE-LABlab(82.69, -2.04, 59.35)
CIE-LCHlch(82.69, 59.39, 91.97°)
OKLaboklab(85.02% -0.0097 0.1361)
OKLCHoklch(85.02% 0.136 94.1)
XYZxyz(57.7019, 61.5890, 18.5194)
Luminance0.6159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC5A #5A79EB
analogous
#EB835A #EBCC5A #C2EB5A
triadic
#EBCC5A #5AEBCC #CC5AEB
tetradic
#EBCC5A #5AEB83 #5A79EB #EB5AC2
square
#EBCC5A #5AEB83 #5A79EB #EB5AC2
split-complementary
#EBCC5A #5AC2EB #835AEB
monochromatic
#B59316 #E4BB23 #EBCC5A #F2DD91 #F8EEC7

Accessibility & contrast

On white

1.58
#EBCC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#EBCC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC5A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC5A#FFFFFF#000000##000000
##EBCC5A1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84E
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#FDBEB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc5a;
/* rgb */ color: rgb(235, 204, 90);
/* oklch */ color: oklch(85.0% 0.136 94.1);
Tailwind
colors: {
  custom: {
    50: '#f5db8d',
    500: '#ebcc5a',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc5a;
$custom-light: #f5db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc5a",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 47.172,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85019,
    "c": 0.13648,
    "h": 94.1
  },
  "luminance": 0.61586
}

Semantic roles & 50–950 ramp

primary
#EBCC5A
secondary
#3550B5
accent
#37DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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