#EBC956#EBC956

#EBC956 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.4% C 0.138 H 92.7°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#EBC956
RGBrgb(235, 201, 86)
HSLhsl(46, 79%, 63%)
HSVhsv(46, 63%, 92%)
CMYKcmyk(0%, 14.5%, 63.4%, 7.8%)
CIE-LABlab(81.90, -0.75, 60.23)
CIE-LCHlch(81.90, 60.24, 90.71°)
OKLaboklab(84.38% -0.0065 0.1375)
OKLCHoklch(84.38% 0.138 92.7)
XYZxyz(56.8300, 60.1104, 17.4114)
Luminance0.6011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBC956 #5678EB
analogous
#EB7F56 #EBC956 #C2EB56
triadic
#EBC956 #56EBC9 #C956EB
tetradic
#EBC956 #56EB7F #5678EB #EB56C2
square
#EBC956 #56EB7F #5678EB #EB56C2
split-complementary
#EBC956 #56C2EB #7F56EB
monochromatic
#B28E15 #E5B81F #EBC956 #F1DA8D #F8ECC3

Accessibility & contrast

On white

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

On black

13.02
#EBC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBC956
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBC956#FFFFFF#000000##000000
##EBC9561.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#E5D05B
Tritanopia (blue-blind)
#FDBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ebc956;
/* rgb */ color: rgb(235, 201, 86);
/* oklch */ color: oklch(84.4% 0.138 92.7);
Tailwind
colors: {
  custom: {
    50: '#f5d98a',
    500: '#ebc956',
    950: '#000000',
  },
}
SCSS
$custom: #ebc956;
$custom-light: #f5d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebc956",
  "rgb": {
    "r": 235,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 46.309,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84378,
    "c": 0.1376,
    "h": 92.7
  },
  "luminance": 0.60107
}

Semantic roles & 50–950 ramp

primary
#EBC956
secondary
#3350B2
accent
#3ADB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBC956

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

Preview Lab → · Contrast checker → · Palette generator →

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