#EBD758#EBD758

#EBD758 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.147 H 100.4°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#EBD758
RGBrgb(235, 215, 88)
HSLhsl(52, 79%, 63%)
HSVhsv(52, 63%, 92%)
CMYKcmyk(0%, 8.5%, 62.6%, 7.8%)
CIE-LABlab(85.49, -7.76, 63.26)
CIE-LCHlch(85.49, 63.73, 96.99°)
OKLaboklab(87.23% -0.0263 0.1442)
OKLCHoklch(87.23% 0.147 100.4)
XYZxyz(60.3253, 66.9702, 18.9796)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD758 #586CEB
analogous
#EB8D58 #EBD758 #B5EB58
triadic
#EBD758 #58EBD7 #D758EB
tetradic
#EBD758 #58EB8D #586CEB #EB58B5
square
#EBD758 #58EB8D #586CEB #EB58B5
split-complementary
#EBD758 #58B5EB #8D58EB
monochromatic
#B39E15 #E4CA21 #EBD758 #F2E48F #F8F1C5

Accessibility & contrast

On white

1.46
#EBD758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#EBD758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD758
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD758#FFFFFF#000000##000000
##EBD7581.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD149
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#FCC9BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd758;
/* rgb */ color: rgb(235, 215, 88);
/* oklch */ color: oklch(87.2% 0.147 100.4);
Tailwind
colors: {
  custom: {
    50: '#f5e38c',
    500: '#ebd758',
    950: '#000000',
  },
}
SCSS
$custom: #ebd758;
$custom-light: #f5e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd758",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 51.837,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87226,
    "c": 0.14655,
    "h": 100.4
  },
  "luminance": 0.66968
}

Semantic roles & 50–950 ramp

primary
#EBD758
secondary
#3445B3
accent
#27DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #EBD758

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

Preview Lab → · Contrast checker → · Palette generator →

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