#EBC959#EBC959

#EBC959 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.4% C 0.135 H 92.4°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#EBC959
RGBrgb(235, 201, 89)
HSLhsl(46, 78%, 64%)
HSVhsv(46, 62%, 92%)
CMYKcmyk(0%, 14.5%, 62.1%, 7.8%)
CIE-LABlab(81.92, -0.56, 58.95)
CIE-LCHlch(81.92, 58.95, 90.54°)
OKLaboklab(84.41% -0.0056 0.1351)
OKLCHoklch(84.41% 0.135 92.4)
XYZxyz(56.9534, 60.1597, 18.0614)
Luminance0.6016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC959 #597BEB
analogous
#EB8059 #EBC959 #C4EB59
triadic
#EBC959 #59EBC9 #C959EB
tetradic
#EBC959 #59EB80 #597BEB #EB59C4
square
#EBC959 #59EB80 #597BEB #EB59C4
split-complementary
#EBC959 #59C4EB #8059EB
monochromatic
#B48F16 #E4B722 #EBC959 #F2DB90 #F8EDC6

Accessibility & contrast

On white

1.61
#EBC959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#EBC959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC959
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC959#FFFFFF#000000##000000
##EBC9591.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64D
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#FDBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc959;
/* rgb */ color: rgb(235, 201, 89);
/* oklch */ color: oklch(84.4% 0.135 92.4);
Tailwind
colors: {
  custom: {
    50: '#f5d98c',
    500: '#ebc959',
    950: '#000000',
  },
}
SCSS
$custom: #ebc959;
$custom-light: #f5d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc959",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 89
  },
  "hsl": {
    "h": 46.027,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84408,
    "c": 0.13524,
    "h": 92.4
  },
  "luminance": 0.60157
}

Semantic roles & 50–950 ramp

primary
#EBC959
secondary
#3452B4
accent
#3BDB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC959

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

Preview Lab → · Contrast checker → · Palette generator →

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