#EBEC5B#EBEC5B

#EBEC5B is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.6% C 0.164 H 109.6°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#EBEC5B
RGBrgb(235, 236, 91)
HSLhsl(60, 79%, 64%)
HSVhsv(60, 61%, 93%)
CMYKcmyk(0.4%, 0%, 61.4%, 7.5%)
CIE-LABlab(90.97, -17.97, 67.88)
CIE-LCHlch(90.97, 70.22, 104.83°)
OKLaboklab(91.59% -0.055 0.1544)
OKLCHoklch(91.59% 0.164 109.6)
XYZxyz(66.1468, 78.4102, 21.5458)
Luminance0.7841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC5B #5C5BEC
analogous
#ECA55B #EBEC5B #A3EC5B
triadic
#EBEC5B #5BEBEC #EC5BEB
tetradic
#EBEC5B #5BECA5 #5C5BEC #EC5BA3
square
#EBEC5B #5BECA5 #5C5BEC #EC5BA3
split-complementary
#EBEC5B #5BA3EC #A55BEC
monochromatic
#B6B715 #E4E624 #EBEC5B #F2F292 #F8F9C9

Accessibility & contrast

On white

1.26
#EBEC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#EBEC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBEC5B
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBEC5B#FFFFFF#000000##000000
##EBEC5B1.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE349
Deuteranopia (green-blind)
#FFE764
Tritanopia (blue-blind)
#FADECE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ebec5b;
/* rgb */ color: rgb(235, 236, 91);
/* oklch */ color: oklch(91.6% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#f5f190',
    500: '#ebec5b',
    950: '#000000',
  },
}
SCSS
$custom: #ebec5b;
$custom-light: #f5f190;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec5b",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 60.414,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91593,
    "c": 0.16388,
    "h": 109.6
  },
  "luminance": 0.78408
}

Semantic roles & 50–950 ramp

primary
#EBEC5B
secondary
#3534B7
accent
#0ADC0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EBEC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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