#EBCC5F#EBCC5F

#EBCC5F is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.1% C 0.132 H 93.5°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#EBCC5F
RGBrgb(235, 204, 95)
HSLhsl(47, 78%, 65%)
HSVhsv(47, 60%, 92%)
CMYKcmyk(0%, 13.2%, 59.6%, 7.8%)
CIE-LABlab(82.74, -1.70, 57.17)
CIE-LCHlch(82.74, 57.19, 91.70°)
OKLaboklab(85.07% -0.0081 0.1321)
OKLCHoklch(85.07% 0.132 93.5)
XYZxyz(57.9219, 61.6770, 19.6782)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCC5F #5F7EEB
analogous
#EB865F #EBCC5F #C4EB5F
triadic
#EBCC5F #5FEBCC #CC5FEB
tetradic
#EBCC5F #5FEB86 #5F7EEB #EB5FC4
square
#EBCC5F #5FEB86 #5F7EEB #EB5FC4
split-complementary
#EBCC5F #5FC4EB #865FEB
monochromatic
#B99517 #E4BB29 #EBCC5F #F2DD95 #F9EFCC

Accessibility & contrast

On white

1.57
#EBCC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBCC5F#FFFFFF#000000##000000
##EBCC5F1.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ebcc5f;
/* rgb */ color: rgb(235, 204, 95);
/* oklch */ color: oklch(85.1% 0.132 93.5);
Tailwind
colors: {
  custom: {
    50: '#f4db90',
    500: '#ebcc5f',
    950: '#000000',
  },
}
SCSS
$custom: #ebcc5f;
$custom-light: #f4db90;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcc5f",
  "rgb": {
    "r": 235,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 46.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85071,
    "c": 0.13236,
    "h": 93.5
  },
  "luminance": 0.61674
}

Semantic roles & 50–950 ramp

primary
#EBCC5F
secondary
#3653B8
accent
#39DA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EBCC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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