#EBD959#EBD959

#EBD959 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.6% C 0.147 H 101.3°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#EBD959
RGBrgb(235, 217, 89)
HSLhsl(53, 78%, 64%)
HSVhsv(53, 62%, 92%)
CMYKcmyk(0%, 7.7%, 62.1%, 7.8%)
CIE-LABlab(86.01, -8.70, 63.40)
CIE-LCHlch(86.01, 64.00, 97.82°)
OKLaboklab(87.64% -0.0289 0.1446)
OKLCHoklch(87.64% 0.147 101.3)
XYZxyz(60.8794, 68.0116, 19.3700)
Luminance0.6801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD959 #596BEB
analogous
#EB9059 #EBD959 #B4EB59
triadic
#EBD959 #59EBD9 #D959EB
tetradic
#EBD959 #59EB90 #596BEB #EB59B4
square
#EBD959 #59EB90 #596BEB #EB59B4
split-complementary
#EBD959 #59B4EB #9059EB
monochromatic
#B4A016 #E4CC22 #EBD959 #F2E690 #F8F2C6

Accessibility & contrast

On white

1.44
#EBD959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#EBD959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD959
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD959#FFFFFF#000000##000000
##EBD9591.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34A
Deuteranopia (green-blind)
#F1DA60
Tritanopia (blue-blind)
#FCCBBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd959;
/* rgb */ color: rgb(235, 217, 89);
/* oklch */ color: oklch(87.6% 0.147 101.3);
Tailwind
colors: {
  custom: {
    50: '#f5e48d',
    500: '#ebd959',
    950: '#000000',
  },
}
SCSS
$custom: #ebd959;
$custom-light: #f5e48d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd959",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 52.603,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87644,
    "c": 0.14747,
    "h": 101.3
  },
  "luminance": 0.68009
}

Semantic roles & 50–950 ramp

primary
#EBD959
secondary
#3444B4
accent
#24DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD959

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

Preview Lab → · Contrast checker → · Palette generator →

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