#EBE959#EBE959

#EBE959 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 90.9% C 0.162 H 108.5°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#EBE959
RGBrgb(235, 233, 89)
HSLhsl(59, 78%, 64%)
HSVhsv(59, 62%, 92%)
CMYKcmyk(0%, 0.9%, 62.1%, 7.8%)
CIE-LABlab(90.17, -16.63, 67.84)
CIE-LCHlch(90.17, 69.85, 103.78°)
OKLaboklab(90.95% -0.0514 0.154)
OKLCHoklch(90.95% 0.162 108.5)
XYZxyz(65.2051, 76.6632, 20.8119)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBE959 #595BEB
analogous
#EBA059 #EBE959 #A4EB59
triadic
#EBE959 #59EBE9 #E959EB
tetradic
#EBE959 #59EBA0 #595BEB #EB59A4
square
#EBE959 #59EBA0 #595BEB #EB59A4
split-complementary
#EBE959 #59A4EB #A059EB
monochromatic
#B4B216 #E4E222 #EBE959 #F2F090 #F8F7C6

Accessibility & contrast

On white

1.29
#EBE959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#EBE959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBE959
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBE959#FFFFFF#000000##000000
##EBE9591.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE047
Deuteranopia (green-blind)
#FDE562
Tritanopia (blue-blind)
#FBDBCB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ebe959;
/* rgb */ color: rgb(235, 233, 89);
/* oklch */ color: oklch(90.9% 0.162 108.5);
Tailwind
colors: {
  custom: {
    50: '#f5ef8e',
    500: '#ebe959',
    950: '#000000',
  },
}
SCSS
$custom: #ebe959;
$custom-light: #f5ef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebe959",
  "rgb": {
    "r": 235,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 59.178,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90949,
    "c": 0.16237,
    "h": 108.5
  },
  "luminance": 0.76661
}

Semantic roles & 50–950 ramp

primary
#EBE959
secondary
#3436B4
accent
#0EDB0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBE959

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

Preview Lab → · Contrast checker → · Palette generator →

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