#EBD151#EBD151

#EBD151 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.9% C 0.147 H 97.7°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#EBD151
RGBrgb(235, 209, 81)
HSLhsl(50, 79%, 62%)
HSVhsv(50, 66%, 92%)
CMYKcmyk(0%, 11.1%, 65.5%, 7.8%)
CIE-LABlab(83.89, -5.14, 64.48)
CIE-LCHlch(83.89, 64.69, 94.56°)
OKLaboklab(85.94% -0.0196 0.1457)
OKLCHoklch(85.94% 0.147 97.7)
XYZxyz(58.5493, 63.8600, 17.0252)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD151 #516BEB
analogous
#EB8451 #EBD151 #B8EB51
triadic
#EBD151 #51EBD1 #D151EB
tetradic
#EBD151 #51EB84 #516BEB #EB51B8
square
#EBD151 #51EB84 #516BEB #EB51B8
split-complementary
#EBD151 #51B8EB #8451EB
monochromatic
#AE9414 #E5C21A #EBD151 #F1E088 #F8EEBF

Accessibility & contrast

On white

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

On black

13.77
#EBD151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD151
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD151#FFFFFF#000000##000000
##EBD1511.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC41
Deuteranopia (green-blind)
#ECD558
Tritanopia (blue-blind)
#FDC2B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ebd151;
/* rgb */ color: rgb(235, 209, 81);
/* oklch */ color: oklch(85.9% 0.147 97.7);
Tailwind
colors: {
  custom: {
    50: '#f5de88',
    500: '#ebd151',
    950: '#000000',
  },
}
SCSS
$custom: #ebd151;
$custom-light: #f5de88;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd151",
  "rgb": {
    "r": 235,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 49.87,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85942,
    "c": 0.14703,
    "h": 97.7
  },
  "luminance": 0.63857
}

Semantic roles & 50–950 ramp

primary
#EBD151
secondary
#3247AE
accent
#2DDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD151

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

Preview Lab → · Contrast checker → · Palette generator →

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