#EBD159#EBD159

#EBD159 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.141 H 97.1°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#EBD159
RGBrgb(235, 209, 89)
HSLhsl(49, 78%, 64%)
HSVhsv(49, 62%, 92%)
CMYKcmyk(0%, 11.1%, 62.1%, 7.8%)
CIE-LABlab(83.96, -4.66, 61.17)
CIE-LCHlch(83.96, 61.35, 94.35°)
OKLaboklab(86.02% -0.0173 0.1399)
OKLCHoklch(86.02% 0.141 97.1)
XYZxyz(58.8671, 63.9871, 18.6993)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD159 #5973EB
analogous
#EB8859 #EBD159 #BCEB59
triadic
#EBD159 #59EBD1 #D159EB
tetradic
#EBD159 #59EB88 #5973EB #EB59BC
square
#EBD159 #59EB88 #5973EB #EB59BC
split-complementary
#EBD159 #59BCEB #8859EB
monochromatic
#B49816 #E4C222 #EBD159 #F2E090 #F8EFC6

Accessibility & contrast

On white

1.52
#EBD159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#EBD159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD159
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD159#FFFFFF#000000##000000
##EBD1591.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4B
Deuteranopia (green-blind)
#EBD55F
Tritanopia (blue-blind)
#FCC3B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ebd159;
/* rgb */ color: rgb(235, 209, 89);
/* oklch */ color: oklch(86.0% 0.141 97.1);
Tailwind
colors: {
  custom: {
    50: '#f5de8d',
    500: '#ebd159',
    950: '#000000',
  },
}
SCSS
$custom: #ebd159;
$custom-light: #f5de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd159",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 49.315,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86016,
    "c": 0.14094,
    "h": 97.1
  },
  "luminance": 0.63984
}

Semantic roles & 50–950 ramp

primary
#EBD159
secondary
#344BB4
accent
#30DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #EBD159

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

Preview Lab → · Contrast checker → · Palette generator →

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