#EBCC5B#EBCC5B

#EBCC5B is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.136 H 94.0°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#EBCC5B
RGBrgb(235, 204, 91)
HSLhsl(47, 78%, 64%)
HSVhsv(47, 61%, 92%)
CMYKcmyk(0%, 13.2%, 61.3%, 7.8%)
CIE-LABlab(82.70, -1.97, 58.92)
CIE-LCHlch(82.70, 58.95, 91.92°)
OKLaboklab(85.03% -0.0094 0.1353)
OKLCHoklch(85.03% 0.136 94)
XYZxyz(57.7447, 61.6061, 18.7451)
Luminance0.6160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC5B #5B7AEB
analogous
#EB845B #EBCC5B #C2EB5B
triadic
#EBCC5B #5BEBCC #CC5BEB
tetradic
#EBCC5B #5BEB84 #5B7AEB #EB5BC2
square
#EBCC5B #5BEB84 #5B7AEB #EB5BC2
split-complementary
#EBCC5B #5BC2EB #845BEB
monochromatic
#B59316 #E4BB24 #EBCC5B #F2DD92 #F8EEC8

Accessibility & contrast

On white

1.58
#EBCC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#EBCC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC5B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC5B#FFFFFF#000000##000000
##EBCC5B1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84F
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#FDBEB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc5b;
/* rgb */ color: rgb(235, 204, 91);
/* oklch */ color: oklch(85.0% 0.136 94.0);
Tailwind
colors: {
  custom: {
    50: '#f5db8d',
    500: '#ebcc5b',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc5b;
$custom-light: #f5db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc5b",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 47.083,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85029,
    "c": 0.13567,
    "h": 94
  },
  "luminance": 0.61603
}

Semantic roles & 50–950 ramp

primary
#EBCC5B
secondary
#3551B5
accent
#38DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #EBCC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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