#EBD957#EBD957

#EBD957 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.6% C 0.149 H 101.4°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#EBD957
RGBrgb(235, 217, 87)
HSLhsl(53, 79%, 63%)
HSVhsv(53, 63%, 92%)
CMYKcmyk(0%, 7.7%, 63%, 7.8%)
CIE-LABlab(86.00, -8.83, 64.22)
CIE-LCHlch(86.00, 64.83, 97.83°)
OKLaboklab(87.63% -0.0295 0.1461)
OKLCHoklch(87.63% 0.149 101.4)
XYZxyz(60.7965, 67.9785, 18.9337)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD957 #5769EB
analogous
#EB8F57 #EBD957 #B3EB57
triadic
#EBD957 #57EBD9 #D957EB
tetradic
#EBD957 #57EB8F #5769EB #EB57B3
square
#EBD957 #57EB8F #5769EB #EB57B3
split-complementary
#EBD957 #57B3EB #8F57EB
monochromatic
#B29F15 #E4CD20 #EBD957 #F2E58E #F8F2C4

Accessibility & contrast

On white

1.44
#EBD957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#EBD957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD957
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD957#FFFFFF#000000##000000
##EBD9571.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#F1DA5E
Tritanopia (blue-blind)
#FCCBBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd957;
/* rgb */ color: rgb(235, 217, 87);
/* oklch */ color: oklch(87.6% 0.149 101.4);
Tailwind
colors: {
  custom: {
    50: '#f5e48c',
    500: '#ebd957',
    950: '#000000',
  },
}
SCSS
$custom: #ebd957;
$custom-light: #f5e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd957",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 52.703,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87625,
    "c": 0.14901,
    "h": 101.4
  },
  "luminance": 0.67976
}

Semantic roles & 50–950 ramp

primary
#EBD957
secondary
#3443B3
accent
#24DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EBD957

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

Preview Lab → · Contrast checker → · Palette generator →

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