#EBD157#EBD157

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

Color values

HEX#EBD157
RGBrgb(235, 209, 87)
HSLhsl(49, 79%, 63%)
HSVhsv(49, 63%, 92%)
CMYKcmyk(0%, 11.1%, 63%, 7.8%)
CIE-LABlab(83.94, -4.78, 62.02)
CIE-LCHlch(83.94, 62.20, 94.41°)
OKLaboklab(86% -0.0179 0.1414)
OKLCHoklch(86% 0.143 97.2)
XYZxyz(58.7843, 63.9540, 18.2630)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD157 #5771EB
analogous
#EB8757 #EBD157 #BBEB57
triadic
#EBD157 #57EBD1 #D157EB
tetradic
#EBD157 #57EB87 #5771EB #EB57BB
square
#EBD157 #57EB87 #5771EB #EB57BB
split-complementary
#EBD157 #57BBEB #8757EB
monochromatic
#B29715 #E4C220 #EBD157 #F2E08E #F8EFC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD157#FFFFFF#000000##000000
##EBD1571.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)
#E4CC49
Deuteranopia (green-blind)
#EBD55D
Tritanopia (blue-blind)
#FCC2B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ebd157;
/* rgb */ color: rgb(235, 209, 87);
/* oklch */ color: oklch(86.0% 0.143 97.2);
Tailwind
colors: {
  custom: {
    50: '#f5de8b',
    500: '#ebd157',
    950: '#000000',
  },
}
SCSS
$custom: #ebd157;
$custom-light: #f5de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd157",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 49.459,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85997,
    "c": 0.14251,
    "h": 97.2
  },
  "luminance": 0.63951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBD157

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

Preview Lab → · Contrast checker → · Palette generator →

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