#EBD158#EBD158

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

Color values

HEX#EBD158
RGBrgb(235, 209, 88)
HSLhsl(49, 79%, 63%)
HSVhsv(49, 63%, 92%)
CMYKcmyk(0%, 11.1%, 62.6%, 7.8%)
CIE-LABlab(83.95, -4.72, 61.60)
CIE-LCHlch(83.95, 61.78, 94.38°)
OKLaboklab(86.01% -0.0176 0.1406)
OKLCHoklch(86.01% 0.142 97.2)
XYZxyz(58.8254, 63.9704, 18.4796)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD158 #5872EB
analogous
#EB8758 #EBD158 #BBEB58
triadic
#EBD158 #58EBD1 #D158EB
tetradic
#EBD158 #58EB87 #5872EB #EB58BB
square
#EBD158 #58EB87 #5872EB #EB58BB
split-complementary
#EBD158 #58BBEB #8758EB
monochromatic
#B39715 #E4C221 #EBD158 #F2E08F #F8EFC5

Accessibility & contrast

On white

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

On black

13.79
#EBD158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD158
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD158#FFFFFF#000000##000000
##EBD1581.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd158;
/* rgb */ color: rgb(235, 209, 88);
/* oklch */ color: oklch(86.0% 0.142 97.2);
Tailwind
colors: {
  custom: {
    50: '#f5de8c',
    500: '#ebd158',
    950: '#000000',
  },
}
SCSS
$custom: #ebd158;
$custom-light: #f5de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd158",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 49.388,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86006,
    "c": 0.14173,
    "h": 97.2
  },
  "luminance": 0.63968
}

Semantic roles & 50–950 ramp

primary
#EBD158
secondary
#344AB3
accent
#2FDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD158

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

Preview Lab → · Contrast checker → · Palette generator →

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