#EBC85B#EBC85B

#EBC85B is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.2% C 0.133 H 91.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#EBC85B
RGBrgb(235, 200, 91)
HSLhsl(45, 78%, 64%)
HSVhsv(45, 61%, 92%)
CMYKcmyk(0%, 14.9%, 61.3%, 7.8%)
CIE-LABlab(81.69, 0.09, 57.79)
CIE-LCHlch(81.69, 57.79, 89.91°)
OKLaboklab(84.23% -0.0034 0.1329)
OKLCHoklch(84.23% 0.133 91.5)
XYZxyz(56.8062, 59.7291, 18.4322)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC85B #5B7EEB
analogous
#EB805B #EBC85B #C6EB5B
triadic
#EBC85B #5BEBC8 #C85BEB
tetradic
#EBC85B #5BEB80 #5B7EEB #EB5BC6
square
#EBC85B #5BEB80 #5B7EEB #EB5BC6
split-complementary
#EBC85B #5BC6EB #805BEB
monochromatic
#B58F16 #E4B624 #EBC85B #F2DA92 #F8EDC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBC85B#FFFFFF#000000##000000
##EBC85B1.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)
#DCC54F
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#FDB9B0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ebc85b;
/* rgb */ color: rgb(235, 200, 91);
/* oklch */ color: oklch(84.2% 0.133 91.5);
Tailwind
colors: {
  custom: {
    50: '#f5d88d',
    500: '#ebc85b',
    950: '#000000',
  },
}
SCSS
$custom: #ebc85b;
$custom-light: #f5d88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc85b",
  "rgb": {
    "r": 235,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 45.417,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84229,
    "c": 0.13298,
    "h": 91.5
  },
  "luminance": 0.59726
}

Semantic roles & 50–950 ramp

primary
#EBC85B
secondary
#3554B5
accent
#3DDB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC85B

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

Preview Lab → · Contrast checker → · Palette generator →

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