#EBD55B#EBD55B

#EBD55B is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.143 H 99.1°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#EBD55B
RGBrgb(235, 213, 91)
HSLhsl(51, 78%, 64%)
HSVhsv(51, 61%, 92%)
CMYKcmyk(0%, 9.4%, 61.3%, 7.8%)
CIE-LABlab(85.00, -6.56, 61.45)
CIE-LCHlch(85.00, 61.80, 96.09°)
OKLaboklab(86.85% -0.0226 0.1407)
OKLCHoklch(86.85% 0.143 99.1)
XYZxyz(59.9460, 66.0086, 19.4788)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD55B #5B71EB
analogous
#EB8D5B #EBD55B #B9EB5B
triadic
#EBD55B #5BEBD5 #D55BEB
tetradic
#EBD55B #5BEB8D #5B71EB #EB5BB9
square
#EBD55B #5BEB8D #5B71EB #EB5BB9
split-complementary
#EBD55B #5BB9EB #8D5BEB
monochromatic
#B59D16 #E4C724 #EBD55B #F2E392 #F8F1C8

Accessibility & contrast

On white

1.48
#EBD55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#EBD55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD55B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD55B#FFFFFF#000000##000000
##EBD55B1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04D
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#FCC7BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ebd55b;
/* rgb */ color: rgb(235, 213, 91);
/* oklch */ color: oklch(86.8% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#f5e18e',
    500: '#ebd55b',
    950: '#000000',
  },
}
SCSS
$custom: #ebd55b;
$custom-light: #f5e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd55b",
  "rgb": {
    "r": 235,
    "g": 213,
    "b": 91
  },
  "hsl": {
    "h": 50.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86847,
    "c": 0.14253,
    "h": 99.1
  },
  "luminance": 0.66006
}

Semantic roles & 50–950 ramp

primary
#EBD55B
secondary
#3549B5
accent
#2BDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD55B

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

Preview Lab → · Contrast checker → · Palette generator →

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