#EBD757#EBD757

#EBD757 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#EBD757
RGBrgb(235, 215, 87)
HSLhsl(52, 79%, 63%)
HSVhsv(52, 63%, 92%)
CMYKcmyk(0%, 8.5%, 63%, 7.8%)
CIE-LABlab(85.48, -7.82, 63.67)
CIE-LCHlch(85.48, 64.15, 97.00°)
OKLaboklab(87.22% -0.0266 0.1449)
OKLCHoklch(87.22% 0.147 100.4)
XYZxyz(60.2842, 66.9537, 18.7629)
Luminance0.6695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD757 #576BEB
analogous
#EB8D57 #EBD757 #B5EB57
triadic
#EBD757 #57EBD7 #D757EB
tetradic
#EBD757 #57EB8D #576BEB #EB57B5
square
#EBD757 #57EB8D #576BEB #EB57B5
split-complementary
#EBD757 #57B5EB #8D57EB
monochromatic
#B29D15 #E4CA20 #EBD757 #F2E48E #F8F1C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBD757#FFFFFF#000000##000000
##EBD7571.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)
#EAD148
Deuteranopia (green-blind)
#F0D95E
Tritanopia (blue-blind)
#FCC9BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ebd757;
/* rgb */ color: rgb(235, 215, 87);
/* oklch */ color: oklch(87.2% 0.147 100.4);
Tailwind
colors: {
  custom: {
    50: '#f5e38c',
    500: '#ebd757',
    950: '#000000',
  },
}
SCSS
$custom: #ebd757;
$custom-light: #f5e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd757",
  "rgb": {
    "r": 235,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 51.892,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87216,
    "c": 0.14732,
    "h": 100.4
  },
  "luminance": 0.66951
}

Semantic roles & 50–950 ramp

primary
#EBD757
secondary
#3445B3
accent
#27DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD757

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

Preview Lab → · Contrast checker → · Palette generator →

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