#EBC757#EBC757

#EBC757 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 84.0% C 0.136 H 91.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#EBC757
RGBrgb(235, 199, 87)
HSLhsl(45, 79%, 63%)
HSVhsv(45, 63%, 92%)
CMYKcmyk(0%, 15.3%, 63%, 7.8%)
CIE-LABlab(81.40, 0.35, 59.25)
CIE-LCHlch(81.40, 59.26, 89.67°)
OKLaboklab(83.99% -0.0032 0.1355)
OKLCHoklch(83.99% 0.136 91.3)
XYZxyz(56.4074, 59.2002, 17.4707)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC757 #577BEB
analogous
#EB7D57 #EBC757 #C5EB57
triadic
#EBC757 #57EBC7 #C757EB
tetradic
#EBC757 #57EB7D #577BEB #EB57C5
square
#EBC757 #57EB7D #577BEB #EB57C5
split-complementary
#EBC757 #57C5EB #7D57EB
monochromatic
#B28C15 #E4B520 #EBC757 #F2D98E #F8EBC4

Accessibility & contrast

On white

1.64
#EBC757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#EBC757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC757
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC757#FFFFFF#000000##000000
##EBC7571.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#E4CF5C
Tritanopia (blue-blind)
#FDB8AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ebc757;
/* rgb */ color: rgb(235, 199, 87);
/* oklch */ color: oklch(84.0% 0.136 91.3);
Tailwind
colors: {
  custom: {
    50: '#f5d78b',
    500: '#ebc757',
    950: '#000000',
  },
}
SCSS
$custom: #ebc757;
$custom-light: #f5d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc757",
  "rgb": {
    "r": 235,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 45.405,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83989,
    "c": 0.13555,
    "h": 91.3
  },
  "luminance": 0.59197
}

Semantic roles & 50–950 ramp

primary
#EBC757
secondary
#3453B3
accent
#3DDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC757

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

Preview Lab → · Contrast checker → · Palette generator →

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