#EBC84F#EBC84F

#EBC84F is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 84.1% C 0.142 H 92.8°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#EBC84F
RGBrgb(235, 200, 79)
HSLhsl(47, 80%, 62%)
HSVhsv(47, 66%, 92%)
CMYKcmyk(0%, 14.9%, 66.4%, 7.8%)
CIE-LABlab(81.59, -0.65, 62.89)
CIE-LCHlch(81.59, 62.89, 90.59°)
OKLaboklab(84.11% -0.007 0.142)
OKLCHoklch(84.11% 0.142 92.8)
XYZxyz(56.3293, 59.5383, 15.9207)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC84F #4F72EB
analogous
#EB7A4F #EBC84F #C0EB4F
triadic
#EBC84F #4FEBC8 #C84FEB
tetradic
#EBC84F #4FEB7A #4F72EB #EB4FC0
square
#EBC84F #4FEB7A #4F72EB #EB4FC0
split-complementary
#EBC84F #4FC0EB #7A4FEB
monochromatic
#AC8A14 #E3B61A #EBC84F #F1D986 #F7EABD

Accessibility & contrast

On white

1.63
#EBC84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#EBC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC84F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC84F#FFFFFF#000000##000000
##EBC84F1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC540
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#FDB9AF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ebc84f;
/* rgb */ color: rgb(235, 200, 79);
/* oklch */ color: oklch(84.1% 0.142 92.8);
Tailwind
colors: {
  custom: {
    50: '#f5d886',
    500: '#ebc84f',
    950: '#000000',
  },
}
SCSS
$custom: #ebc84f;
$custom-light: #f5d886;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc84f",
  "rgb": {
    "r": 235,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 46.538,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84113,
    "c": 0.14219,
    "h": 92.8
  },
  "luminance": 0.59535
}

Semantic roles & 50–950 ramp

primary
#EBC84F
secondary
#314DAD
accent
#39DC0A
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EBC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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