#EBD156#EBD156

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

Color values

HEX#EBD156
RGBrgb(235, 209, 86)
HSLhsl(50, 79%, 63%)
HSVhsv(50, 63%, 92%)
CMYKcmyk(0%, 11.1%, 63.4%, 7.8%)
CIE-LABlab(83.93, -4.84, 62.43)
CIE-LCHlch(83.93, 62.62, 94.44°)
OKLaboklab(85.99% -0.0182 0.1421)
OKLCHoklch(85.99% 0.143 97.3)
XYZxyz(58.7437, 63.9378, 18.0493)
Luminance0.6393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD156 #5670EB
analogous
#EB8656 #EBD156 #BBEB56
triadic
#EBD156 #56EBD1 #D156EB
tetradic
#EBD156 #56EB86 #5670EB #EB56BB
square
#EBD156 #56EB86 #5670EB #EB56BB
split-complementary
#EBD156 #56BBEB #8656EB
monochromatic
#B29615 #E5C21F #EBD156 #F1E08D #F8EFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD156#FFFFFF#000000##000000
##EBD1561.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)
#E4CC48
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#FCC2B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ebd156;
/* rgb */ color: rgb(235, 209, 86);
/* oklch */ color: oklch(86.0% 0.143 97.3);
Tailwind
colors: {
  custom: {
    50: '#f5de8b',
    500: '#ebd156',
    950: '#000000',
  },
}
SCSS
$custom: #ebd156;
$custom-light: #f5de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd156",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 49.53,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85987,
    "c": 0.14328,
    "h": 97.3
  },
  "luminance": 0.63935
}

Semantic roles & 50–950 ramp

primary
#EBD156
secondary
#3349B2
accent
#2FDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD156

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

Preview Lab → · Contrast checker → · Palette generator →

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