#EBEC5A#EBEC5A

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

Color values

HEX#EBEC5A
RGBrgb(235, 236, 90)
HSLhsl(60, 79%, 64%)
HSVhsv(60, 62%, 93%)
CMYKcmyk(0.4%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.96, -18.03, 68.27)
CIE-LCHlch(90.96, 70.62, 104.80°)
OKLaboklab(91.58% -0.0553 0.1551)
OKLCHoklch(91.58% 0.165 109.6)
XYZxyz(66.1039, 78.3930, 21.3201)
Luminance0.7839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBEC5A #5B5AEC
analogous
#ECA45A #EBEC5A #A2EC5A
triadic
#EBEC5A #5AEBEC #EC5AEB
tetradic
#EBEC5A #5AECA4 #5B5AEC #EC5AA2
square
#EBEC5A #5AECA4 #5B5AEC #EC5AA2
split-complementary
#EBEC5A #5AA2EC #A45AEC
monochromatic
#B5B715 #E4E623 #EBEC5A #F2F291 #F8F9C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EBEC5A#FFFFFF#000000##000000
##EBEC5A1.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)
#FEE348
Deuteranopia (green-blind)
#FFE763
Tritanopia (blue-blind)
#FBDECE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ebec5a;
/* rgb */ color: rgb(235, 236, 90);
/* oklch */ color: oklch(91.6% 0.165 109.6);
Tailwind
colors: {
  custom: {
    50: '#f5f18f',
    500: '#ebec5a',
    950: '#000000',
  },
}
SCSS
$custom: #ebec5a;
$custom-light: #f5f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#ebec5a",
  "rgb": {
    "r": 235,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 60.411,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91584,
    "c": 0.16463,
    "h": 109.6
  },
  "luminance": 0.78391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EBEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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