#EBC960#EBC960

#EBC960 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.5% C 0.129 H 91.5°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#EBC960
RGBrgb(235, 201, 96)
HSLhsl(45, 78%, 65%)
HSVhsv(45, 59%, 92%)
CMYKcmyk(0%, 14.5%, 59.1%, 7.8%)
CIE-LABlab(81.99, -0.09, 55.86)
CIE-LCHlch(81.99, 55.86, 90.09°)
OKLaboklab(84.48% -0.0034 0.1294)
OKLCHoklch(84.48% 0.129 91.5)
XYZxyz(57.2615, 60.2830, 19.6837)
Luminance0.6028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC960 #6082EB
analogous
#EB8460 #EBC960 #C7EB60
triadic
#EBC960 #60EBC9 #C960EB
tetradic
#EBC960 #60EB84 #6082EB #EB60C7
square
#EBC960 #60EB84 #6082EB #EB60C7
split-complementary
#EBC960 #60C7EB #8460EB
monochromatic
#B99217 #E4B72A #EBC960 #F2DB96 #F9EECD

Accessibility & contrast

On white

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

On black

13.06
#EBC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC960
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC960#FFFFFF#000000##000000
##EBC9601.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC655
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#FCBBB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc960;
/* rgb */ color: rgb(235, 201, 96);
/* oklch */ color: oklch(84.5% 0.129 91.5);
Tailwind
colors: {
  custom: {
    50: '#f4d990',
    500: '#ebc960',
    950: '#000000',
  },
}
SCSS
$custom: #ebc960;
$custom-light: #f4d990;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc960",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 45.324,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84482,
    "c": 0.12948,
    "h": 91.5
  },
  "luminance": 0.6028
}

Semantic roles & 50–950 ramp

primary
#EBC960
secondary
#3756B9
accent
#3EDA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBC960

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

Preview Lab → · Contrast checker → · Palette generator →

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