#EBC754#EBC754

#EBC754 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 84.0% C 0.138 H 91.7°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#EBC754
RGBrgb(235, 199, 84)
HSLhsl(46, 79%, 63%)
HSVhsv(46, 64%, 92%)
CMYKcmyk(0%, 15.3%, 64.3%, 7.8%)
CIE-LABlab(81.38, 0.16, 60.54)
CIE-LCHlch(81.38, 60.54, 89.85°)
OKLaboklab(83.96% -0.0041 0.1378)
OKLCHoklch(83.96% 0.138 91.7)
XYZxyz(56.2874, 59.1522, 16.8385)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC754 #5478EB
analogous
#EB7B54 #EBC754 #C4EB54
triadic
#EBC754 #54EBC7 #C754EB
tetradic
#EBC754 #54EB7B #5478EB #EB54C4
square
#EBC754 #54EB7B #5478EB #EB54C4
split-complementary
#EBC754 #54C4EB #7B54EB
monochromatic
#B08B15 #E5B51D #EBC754 #F1D98B #F8EBC2

Accessibility & contrast

On white

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

On black

12.83
#EBC754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC754
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC754#FFFFFF#000000##000000
##EBC7541.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC447
Deuteranopia (green-blind)
#E4CF59
Tritanopia (blue-blind)
#FDB8AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ebc754;
/* rgb */ color: rgb(235, 199, 84);
/* oklch */ color: oklch(84.0% 0.138 91.7);
Tailwind
colors: {
  custom: {
    50: '#f5d789',
    500: '#ebc754',
    950: '#000000',
  },
}
SCSS
$custom: #ebc754;
$custom-light: #f5d789;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc754",
  "rgb": {
    "r": 235,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 45.695,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8396,
    "c": 0.13786,
    "h": 91.7
  },
  "luminance": 0.59149
}

Semantic roles & 50–950 ramp

primary
#EBC754
secondary
#3351B0
accent
#3CDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC754

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

Preview Lab → · Contrast checker → · Palette generator →

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