#EBC95D#EBC95D

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

Color values

HEX#EBC95D
RGBrgb(235, 201, 93)
HSLhsl(46, 78%, 64%)
HSVhsv(46, 60%, 92%)
CMYKcmyk(0%, 14.5%, 60.4%, 7.8%)
CIE-LABlab(81.96, -0.29, 57.20)
CIE-LCHlch(81.96, 57.20, 90.29°)
OKLaboklab(84.45% -0.0043 0.1319)
OKLCHoklch(84.45% 0.132 91.9)
XYZxyz(57.1260, 60.2288, 18.9701)
Luminance0.6023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC95D #5D7FEB
analogous
#EB825D #EBC95D #C6EB5D
triadic
#EBC95D #5DEBC9 #C95DEB
tetradic
#EBC95D #5DEB82 #5D7FEB #EB5DC6
square
#EBC95D #5DEB82 #5D7FEB #EB5DC6
split-complementary
#EBC95D #5DC6EB #825DEB
monochromatic
#B79117 #E4B727 #EBC95D #F2DB93 #F8EDCA

Accessibility & contrast

On white

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

On black

13.05
#EBC95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC95D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC95D#FFFFFF#000000##000000
##EBC95D1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC652
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#FDBBB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc95d;
/* rgb */ color: rgb(235, 201, 93);
/* oklch */ color: oklch(84.4% 0.132 91.9);
Tailwind
colors: {
  custom: {
    50: '#f5d98f',
    500: '#ebc95d',
    950: '#000000',
  },
}
SCSS
$custom: #ebc95d;
$custom-light: #f5d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc95d",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 45.634,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84449,
    "c": 0.132,
    "h": 91.9
  },
  "luminance": 0.60226
}

Semantic roles & 50–950 ramp

primary
#EBC95D
secondary
#3654B7
accent
#3DDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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