#EBD457#EBD457

#EBD457 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.6% C 0.145 H 98.9°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#EBD457
RGBrgb(235, 212, 87)
HSLhsl(51, 79%, 63%)
HSVhsv(51, 63%, 92%)
CMYKcmyk(0%, 9.8%, 63%, 7.8%)
CIE-LABlab(84.71, -6.31, 62.84)
CIE-LCHlch(84.71, 63.16, 95.73°)
OKLaboklab(86.61% -0.0223 0.1431)
OKLCHoklch(86.61% 0.145 98.9)
XYZxyz(59.5272, 65.4399, 18.5106)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD457 #576EEB
analogous
#EB8A57 #EBD457 #B8EB57
triadic
#EBD457 #57EBD4 #D457EB
tetradic
#EBD457 #57EB8A #576EEB #EB57B8
square
#EBD457 #57EB8A #576EEB #EB57B8
split-complementary
#EBD457 #57B8EB #8A57EB
monochromatic
#B29A15 #E4C620 #EBD457 #F2E28E #F8F0C4

Accessibility & contrast

On white

1.49
#EBD457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#EBD457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD457
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD457#FFFFFF#000000##000000
##EBD4571.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF48
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#FCC6B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ebd457;
/* rgb */ color: rgb(235, 212, 87);
/* oklch */ color: oklch(86.6% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#f5e08c',
    500: '#ebd457',
    950: '#000000',
  },
}
SCSS
$custom: #ebd457;
$custom-light: #f5e08c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd457",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 50.676,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86605,
    "c": 0.14487,
    "h": 98.9
  },
  "luminance": 0.65437
}

Semantic roles & 50–950 ramp

primary
#EBD457
secondary
#3447B3
accent
#2BDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD457

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

Preview Lab → · Contrast checker → · Palette generator →

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