#EBC85D#EBC85D

#EBC85D is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.3% C 0.131 H 91.2°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#EBC85D
RGBrgb(235, 200, 93)
HSLhsl(45, 78%, 64%)
HSVhsv(45, 60%, 92%)
CMYKcmyk(0%, 14.9%, 60.4%, 7.8%)
CIE-LABlab(81.71, 0.22, 56.91)
CIE-LCHlch(81.71, 56.91, 89.78°)
OKLaboklab(84.25% -0.0028 0.1313)
OKLCHoklch(84.25% 0.131 91.2)
XYZxyz(56.8936, 59.7641, 18.8927)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC85D #5D80EB
analogous
#EB815D #EBC85D #C7EB5D
triadic
#EBC85D #5DEBC8 #C85DEB
tetradic
#EBC85D #5DEB81 #5D80EB #EB5DC7
square
#EBC85D #5DEB81 #5D80EB #EB5DC7
split-complementary
#EBC85D #5DC7EB #815DEB
monochromatic
#B78F17 #E4B627 #EBC85D #F2DA93 #F8EDCA

Accessibility & contrast

On white

1.62
#EBC85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#EBC85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC85D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC85D#FFFFFF#000000##000000
##EBC85D1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC552
Deuteranopia (green-blind)
#E4CF62
Tritanopia (blue-blind)
#FDBAB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ebc85d;
/* rgb */ color: rgb(235, 200, 93);
/* oklch */ color: oklch(84.3% 0.131 91.2);
Tailwind
colors: {
  custom: {
    50: '#f5d88e',
    500: '#ebc85d',
    950: '#000000',
  },
}
SCSS
$custom: #ebc85d;
$custom-light: #f5d88e;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc85d",
  "rgb": {
    "r": 235,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 45.211,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8425,
    "c": 0.13135,
    "h": 91.2
  },
  "luminance": 0.59761
}

Semantic roles & 50–950 ramp

primary
#EBC85D
secondary
#3655B7
accent
#3EDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBC85D

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

Preview Lab → · Contrast checker → · Palette generator →

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