#E9EC5A#E9EC5A

#E9EC5A is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.4% C 0.165 H 110.4°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#E9EC5A
RGBrgb(233, 236, 90)
HSLhsl(61, 79%, 64%)
HSVhsv(61, 62%, 93%)
CMYKcmyk(1.3%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.80, -18.84, 68.06)
CIE-LCHlch(90.80, 70.62, 105.47°)
OKLaboklab(91.42% -0.0575 0.1547)
OKLCHoklch(91.42% 0.165 110.4)
XYZxyz(65.4471, 78.0544, 21.2893)
Luminance0.7805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9EC5A #5D5AEC
analogous
#ECA65A #E9EC5A #A0EC5A
triadic
#E9EC5A #5AE9EC #EC5AE9
tetradic
#E9EC5A #5AECA6 #5D5AEC #EC5AA0
square
#E9EC5A #5AECA6 #5D5AEC #EC5AA0
split-complementary
#E9EC5A #5AA0EC #A65AEC
monochromatic
#B3B715 #E2E623 #E9EC5A #F0F291 #F8F9C8

Accessibility & contrast

On white

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

On black

16.61
#E9EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9EC5A
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9EC5A#FFFFFF#000000##000000
##E9EC5A1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE248
Deuteranopia (green-blind)
#FFE763
Tritanopia (blue-blind)
#F8DECE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e9ec5a;
/* rgb */ color: rgb(233, 236, 90);
/* oklch */ color: oklch(91.4% 0.165 110.4);
Tailwind
colors: {
  custom: {
    50: '#f3f18f',
    500: '#e9ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #e9ec5a;
$custom-light: #f3f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#e9ec5a",
  "rgb": {
    "r": 233,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 61.233,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91423,
    "c": 0.16499,
    "h": 110.4
  },
  "luminance": 0.78053
}

Semantic roles & 50–950 ramp

primary
#E9EC5A
secondary
#3734B6
accent
#0ADC0E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E9EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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