#EBD858#EBD858

#EBD858 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.147 H 100.9°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#EBD858
RGBrgb(235, 216, 88)
HSLhsl(52, 79%, 63%)
HSVhsv(52, 63%, 92%)
CMYKcmyk(0%, 8.1%, 62.6%, 7.8%)
CIE-LABlab(85.75, -8.26, 63.54)
CIE-LCHlch(85.75, 64.07, 97.41°)
OKLaboklab(87.43% -0.0278 0.1448)
OKLCHoklch(87.43% 0.147 100.9)
XYZxyz(60.5807, 67.4810, 19.0647)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD858 #586BEB
analogous
#EB8E58 #EBD858 #B4EB58
triadic
#EBD858 #58EBD8 #D858EB
tetradic
#EBD858 #58EB8E #586BEB #EB58B4
square
#EBD858 #58EB8E #586BEB #EB58B4
split-complementary
#EBD858 #58B4EB #8E58EB
monochromatic
#B39F15 #E4CB21 #EBD858 #F2E58F #F8F2C5

Accessibility & contrast

On white

1.45
#EBD858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#EBD858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD858
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD858#FFFFFF#000000##000000
##EBD8581.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD249
Deuteranopia (green-blind)
#F0DA5F
Tritanopia (blue-blind)
#FCCABD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd858;
/* rgb */ color: rgb(235, 216, 88);
/* oklch */ color: oklch(87.4% 0.147 100.9);
Tailwind
colors: {
  custom: {
    50: '#f5e38c',
    500: '#ebd858',
    950: '#000000',
  },
}
SCSS
$custom: #ebd858;
$custom-light: #f5e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd858",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 52.245,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8743,
    "c": 0.14739,
    "h": 100.9
  },
  "luminance": 0.67478
}

Semantic roles & 50–950 ramp

primary
#EBD858
secondary
#3444B3
accent
#26DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #EBD858

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

Preview Lab → · Contrast checker → · Palette generator →

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