#EBD960#EBD960

#EBD960 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.142 H 100.9°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#EBD960
RGBrgb(235, 217, 96)
HSLhsl(52, 78%, 65%)
HSVhsv(52, 59%, 92%)
CMYKcmyk(0%, 7.7%, 59.1%, 7.8%)
CIE-LABlab(86.07, -8.24, 60.45)
CIE-LCHlch(86.07, 61.01, 97.77°)
OKLaboklab(87.71% -0.0268 0.1393)
OKLCHoklch(87.71% 0.142 100.9)
XYZxyz(61.1874, 68.1349, 20.9924)
Luminance0.6813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD960 #6072EB
analogous
#EB9360 #EBD960 #B8EB60
triadic
#EBD960 #60EBD9 #D960EB
tetradic
#EBD960 #60EB93 #6072EB #EB60B8
square
#EBD960 #60EB93 #6072EB #EB60B8
split-complementary
#EBD960 #60B8EB #9360EB
monochromatic
#B9A417 #E4CC2A #EBD960 #F2E696 #F9F3CD

Accessibility & contrast

On white

1.44
#EBD960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#EBD960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD960
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD960#FFFFFF#000000##000000
##EBD9601.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD353
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#FBCBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ebd960;
/* rgb */ color: rgb(235, 217, 96);
/* oklch */ color: oklch(87.7% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#f4e491',
    500: '#ebd960',
    950: '#000000',
  },
}
SCSS
$custom: #ebd960;
$custom-light: #f4e491;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd960",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 52.23,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87712,
    "c": 0.14182,
    "h": 100.9
  },
  "luminance": 0.68132
}

Semantic roles & 50–950 ramp

primary
#EBD960
secondary
#3747B9
accent
#26DA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EBD960

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

Preview Lab → · Contrast checker → · Palette generator →

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