#EBD857#EBD857

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

Color values

HEX#EBD857
RGBrgb(235, 216, 87)
HSLhsl(52, 79%, 63%)
HSVhsv(52, 63%, 92%)
CMYKcmyk(0%, 8.1%, 63%, 7.8%)
CIE-LABlab(85.74, -8.33, 63.95)
CIE-LCHlch(85.74, 64.49, 97.42°)
OKLaboklab(87.42% -0.0281 0.1455)
OKLCHoklch(87.42% 0.148 100.9)
XYZxyz(60.5396, 67.4646, 18.8480)
Luminance0.6746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD857 #576AEB
analogous
#EB8E57 #EBD857 #B4EB57
triadic
#EBD857 #57EBD8 #D857EB
tetradic
#EBD857 #57EB8E #576AEB #EB57B4
square
#EBD857 #57EB8E #576AEB #EB57B4
split-complementary
#EBD857 #57B4EB #8E57EB
monochromatic
#B29E15 #E4CB20 #EBD857 #F2E58E #F8F1C4

Accessibility & contrast

On white

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

On black

14.49
#EBD857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD857
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD857#FFFFFF#000000##000000
##EBD8571.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebd857;
/* rgb */ color: rgb(235, 216, 87);
/* oklch */ color: oklch(87.4% 0.148 100.9);
Tailwind
colors: {
  custom: {
    50: '#f5e38c',
    500: '#ebd857',
    950: '#000000',
  },
}
SCSS
$custom: #ebd857;
$custom-light: #f5e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd857",
  "rgb": {
    "r": 235,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 52.297,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87421,
    "c": 0.14817,
    "h": 100.9
  },
  "luminance": 0.67462
}

Semantic roles & 50–950 ramp

primary
#EBD857
secondary
#3444B3
accent
#25DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD857

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

Preview Lab → · Contrast checker → · Palette generator →

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