#EBCC5D#EBCC5D

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

Color values

HEX#EBCC5D
RGBrgb(235, 204, 93)
HSLhsl(47, 78%, 64%)
HSVhsv(47, 60%, 92%)
CMYKcmyk(0%, 13.2%, 60.4%, 7.8%)
CIE-LABlab(82.72, -1.84, 58.05)
CIE-LCHlch(82.72, 58.08, 91.81°)
OKLaboklab(85.05% -0.0088 0.1337)
OKLCHoklch(85.05% 0.134 93.8)
XYZxyz(57.8322, 61.6411, 19.2055)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC5D #5D7CEB
analogous
#EB855D #EBCC5D #C3EB5D
triadic
#EBCC5D #5DEBCC #CC5DEB
tetradic
#EBCC5D #5DEB85 #5D7CEB #EB5DC3
square
#EBCC5D #5DEB85 #5D7CEB #EB5DC3
split-complementary
#EBCC5D #5DC3EB #855DEB
monochromatic
#B79417 #E4BB27 #EBCC5D #F2DD93 #F8EECA

Accessibility & contrast

On white

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

On black

13.33
#EBCC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCC5D
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCC5D#FFFFFF#000000##000000
##EBCC5D1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC851
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#FCBEB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ebcc5d;
/* rgb */ color: rgb(235, 204, 93);
/* oklch */ color: oklch(85.0% 0.134 93.8);
Tailwind
colors: {
  custom: {
    50: '#f5db8f',
    500: '#ebcc5d',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc5d;
$custom-light: #f5db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc5d",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 46.901,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8505,
    "c": 0.13403,
    "h": 93.8
  },
  "luminance": 0.61638
}

Semantic roles & 50–950 ramp

primary
#EBCC5D
secondary
#3652B7
accent
#38DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBCC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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