#EBCB56#EBCB56

#EBCB56 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.8% C 0.139 H 93.9°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#EBCB56
RGBrgb(235, 203, 86)
HSLhsl(47, 79%, 63%)
HSVhsv(47, 63%, 92%)
CMYKcmyk(0%, 13.6%, 63.4%, 7.8%)
CIE-LABlab(82.41, -1.78, 60.78)
CIE-LCHlch(82.41, 60.81, 91.67°)
OKLaboklab(84.78% -0.0094 0.1386)
OKLCHoklch(84.78% 0.139 93.9)
XYZxyz(57.2993, 61.0489, 17.5678)
Luminance0.6105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBCB56 #5676EB
analogous
#EB8056 #EBCB56 #C0EB56
triadic
#EBCB56 #56EBCB #CB56EB
tetradic
#EBCB56 #56EB80 #5676EB #EB56C0
square
#EBCB56 #56EB80 #5676EB #EB56C0
split-complementary
#EBCB56 #56C0EB #8056EB
monochromatic
#B29015 #E5BA1F #EBCB56 #F1DC8D #F8EDC3

Accessibility & contrast

On white

1.59
#EBCB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#EBCB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBCB56
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBCB56#FFFFFF#000000##000000
##EBCB561.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC749
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#FDBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ebcb56;
/* rgb */ color: rgb(235, 203, 86);
/* oklch */ color: oklch(84.8% 0.139 93.9);
Tailwind
colors: {
  custom: {
    50: '#f5da8a',
    500: '#ebcb56',
    950: '#000000',
  },
}
SCSS
$custom: #ebcb56;
$custom-light: #f5da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ebcb56",
  "rgb": {
    "r": 235,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 47.114,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84779,
    "c": 0.13894,
    "h": 93.9
  },
  "luminance": 0.61046
}

Semantic roles & 50–950 ramp

primary
#EBCB56
secondary
#334FB2
accent
#37DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EBCB56

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

Preview Lab → · Contrast checker → · Palette generator →

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