#EBC657#EBC657

#EBC657 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.8% C 0.135 H 90.7°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#EBC657
RGBrgb(235, 198, 87)
HSLhsl(45, 79%, 63%)
HSVhsv(45, 63%, 92%)
CMYKcmyk(0%, 15.7%, 63%, 7.8%)
CIE-LABlab(81.15, 0.86, 58.98)
CIE-LCHlch(81.15, 58.98, 89.16°)
OKLaboklab(83.79% -0.0017 0.1349)
OKLCHoklch(83.79% 0.135 90.7)
XYZxyz(56.1781, 58.7416, 17.3942)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC657 #577CEB
analogous
#EB7C57 #EBC657 #C6EB57
triadic
#EBC657 #57EBC6 #C657EB
tetradic
#EBC657 #57EB7C #577CEB #EB57C6
square
#EBC657 #57EB7C #577CEB #EB57C6
split-complementary
#EBC657 #57C6EB #7C57EB
monochromatic
#B28B15 #E4B320 #EBC657 #F2D98E #F8EBC4

Accessibility & contrast

On white

1.65
#EBC657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#EBC657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC657
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC657#FFFFFF#000000##000000
##EBC6571.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34B
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#FDB7AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ebc657;
/* rgb */ color: rgb(235, 198, 87);
/* oklch */ color: oklch(83.8% 0.135 90.7);
Tailwind
colors: {
  custom: {
    50: '#f5d78b',
    500: '#ebc657',
    950: '#000000',
  },
}
SCSS
$custom: #ebc657;
$custom-light: #f5d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc657",
  "rgb": {
    "r": 235,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 45,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8379,
    "c": 0.13493,
    "h": 90.7
  },
  "luminance": 0.58738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBC657

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

Preview Lab → · Contrast checker → · Palette generator →

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