#EBC74E#EBC74E

#EBC74E is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.9% C 0.142 H 92.3°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#EBC74E
RGBrgb(235, 199, 78)
HSLhsl(46, 80%, 61%)
HSVhsv(46, 67%, 92%)
CMYKcmyk(0%, 15.3%, 66.8%, 7.8%)
CIE-LABlab(81.33, -0.19, 63.03)
CIE-LCHlch(81.33, 63.03, 90.17°)
OKLaboklab(83.91% -0.0058 0.1422)
OKLCHoklch(83.91% 0.142 92.3)
XYZxyz(56.0624, 59.0622, 15.6535)
Luminance0.5906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC74E #4E72EB
analogous
#EB794E #EBC74E #C1EB4E
triadic
#EBC74E #4EEBC7 #C74EEB
tetradic
#EBC74E #4EEB79 #4E72EB #EB4EC1
square
#EBC74E #4EEB79 #4E72EB #EB4EC1
split-complementary
#EBC74E #4EC1EB #794EEB
monochromatic
#AB8813 #E2B41A #EBC74E #F1D885 #F7EABC

Accessibility & contrast

On white

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

On black

12.81
#EBC74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC74E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC74E#FFFFFF#000000##000000
##EBC74E1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebc74e;
/* rgb */ color: rgb(235, 199, 78);
/* oklch */ color: oklch(83.9% 0.142 92.3);
Tailwind
colors: {
  custom: {
    50: '#f5d785',
    500: '#ebc74e',
    950: '#000000',
  },
}
SCSS
$custom: #ebc74e;
$custom-light: #f5d785;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc74e",
  "rgb": {
    "r": 235,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 46.242,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83905,
    "c": 0.14229,
    "h": 92.3
  },
  "luminance": 0.59059
}

Semantic roles & 50–950 ramp

primary
#EBC74E
secondary
#314DAC
accent
#3ADC09
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EBC74E

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

Preview Lab → · Contrast checker → · Palette generator →

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