#EBC95B#EBC95B

#EBC95B is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.4% C 0.134 H 92.1°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#EBC95B
RGBrgb(235, 201, 91)
HSLhsl(46, 78%, 64%)
HSVhsv(46, 61%, 92%)
CMYKcmyk(0%, 14.5%, 61.3%, 7.8%)
CIE-LABlab(81.94, -0.43, 58.08)
CIE-LCHlch(81.94, 58.08, 90.42°)
OKLaboklab(84.43% -0.0049 0.1335)
OKLCHoklch(84.43% 0.134 92.1)
XYZxyz(57.0386, 60.1938, 18.5097)
Luminance0.6019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC95B #5B7DEB
analogous
#EB815B #EBC95B #C5EB5B
triadic
#EBC95B #5BEBC9 #C95BEB
tetradic
#EBC95B #5BEB81 #5B7DEB #EB5BC5
square
#EBC95B #5BEB81 #5B7DEB #EB5BC5
split-complementary
#EBC95B #5BC5EB #815BEB
monochromatic
#B59016 #E4B724 #EBC95B #F2DB92 #F8EDC8

Accessibility & contrast

On white

1.61
#EBC95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#EBC95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC95B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC95B#FFFFFF#000000##000000
##EBC95B1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64F
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#FDBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc95b;
/* rgb */ color: rgb(235, 201, 91);
/* oklch */ color: oklch(84.4% 0.134 92.1);
Tailwind
colors: {
  custom: {
    50: '#f5d98d',
    500: '#ebc95b',
    950: '#000000',
  },
}
SCSS
$custom: #ebc95b;
$custom-light: #f5d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc95b",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 45.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84428,
    "c": 0.13363,
    "h": 92.1
  },
  "luminance": 0.60191
}

Semantic roles & 50–950 ramp

primary
#EBC95B
secondary
#3553B5
accent
#3CDB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC95B

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

Preview Lab → · Contrast checker → · Palette generator →

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