#EBCC59#EBCC59

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

Color values

HEX#EBCC59
RGBrgb(235, 204, 89)
HSLhsl(47, 78%, 64%)
HSVhsv(47, 62%, 92%)
CMYKcmyk(0%, 13.2%, 62.1%, 7.8%)
CIE-LABlab(82.69, -2.10, 59.78)
CIE-LCHlch(82.69, 59.82, 92.01°)
OKLaboklab(85.01% -0.01 0.1369)
OKLCHoklch(85.01% 0.137 94.2)
XYZxyz(57.6596, 61.5721, 18.2968)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC59 #5978EB
analogous
#EB8359 #EBCC59 #C1EB59
triadic
#EBCC59 #59EBCC #CC59EB
tetradic
#EBCC59 #59EB83 #5978EB #EB59C1
square
#EBCC59 #59EB83 #5978EB #EB59C1
split-complementary
#EBCC59 #59C1EB #8359EB
monochromatic
#B49216 #E4BB22 #EBCC59 #F2DD90 #F8EEC6

Accessibility & contrast

On white

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

On black

13.31
#EBCC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC59
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC59#FFFFFF#000000##000000
##EBCC591.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#FDBDB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc59;
/* rgb */ color: rgb(235, 204, 89);
/* oklch */ color: oklch(85.0% 0.137 94.2);
Tailwind
colors: {
  custom: {
    50: '#f5db8c',
    500: '#ebcc59',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc59;
$custom-light: #f5db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc59",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 47.26,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85009,
    "c": 0.13727,
    "h": 94.2
  },
  "luminance": 0.61569
}

Semantic roles & 50–950 ramp

primary
#EBCC59
secondary
#344FB4
accent
#37DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCC59

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

Preview Lab → · Contrast checker → · Palette generator →

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