#EBD458#EBD458

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

Color values

HEX#EBD458
RGBrgb(235, 212, 88)
HSLhsl(51, 79%, 63%)
HSVhsv(51, 63%, 92%)
CMYKcmyk(0%, 9.8%, 62.6%, 7.8%)
CIE-LABlab(84.72, -6.24, 62.43)
CIE-LCHlch(84.72, 62.74, 95.71°)
OKLaboklab(86.62% -0.022 0.1424)
OKLCHoklch(86.62% 0.144 98.8)
XYZxyz(59.5684, 65.4564, 18.7273)
Luminance0.6545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD458 #586FEB
analogous
#EB8A58 #EBD458 #B9EB58
triadic
#EBD458 #58EBD4 #D458EB
tetradic
#EBD458 #58EB8A #586FEB #EB58B9
square
#EBD458 #58EB8A #586FEB #EB58B9
split-complementary
#EBD458 #58B9EB #8A58EB
monochromatic
#B39A15 #E4C621 #EBD458 #F2E28F #F8F0C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD458#FFFFFF#000000##000000
##EBD4581.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)
#E7CF4A
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#FCC6BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ebd458;
/* rgb */ color: rgb(235, 212, 88);
/* oklch */ color: oklch(86.6% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#f5e08c',
    500: '#ebd458',
    950: '#000000',
  },
}
SCSS
$custom: #ebd458;
$custom-light: #f5e08c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd458",
  "rgb": {
    "r": 235,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 50.612,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86615,
    "c": 0.14409,
    "h": 98.8
  },
  "luminance": 0.65454
}

Semantic roles & 50–950 ramp

primary
#EBD458
secondary
#3448B3
accent
#2BDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD458

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

Preview Lab → · Contrast checker → · Palette generator →

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