#E9EC78#E9EC78

#E9EC78 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.7% C 0.139 H 110.2°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#E9EC78
RGBrgb(233, 236, 120)
HSLhsl(62, 75%, 70%)
HSVhsv(62, 49%, 93%)
CMYKcmyk(1.3%, 0%, 49.2%, 7.5%)
CIE-LABlab(91.09, -16.61, 55.33)
CIE-LCHlch(91.09, 57.77, 106.71°)
OKLaboklab(91.74% -0.0481 0.1308)
OKLCHoklch(91.74% 0.139 110.2)
XYZxyz(66.9913, 78.6721, 29.4219)
Luminance0.7867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9EC78 #7B78EC
analogous
#ECB578 #E9EC78 #AFEC78
triadic
#E9EC78 #78E9EC #EC78E9
tetradic
#E9EC78 #78ECB5 #7B78EC #EC78AF
square
#E9EC78 #78ECB5 #7B78EC #EC78AF
split-complementary
#E9EC78 #78AFEC #B578EC
monochromatic
#C8CD1D #E0E442 #E9EC78 #F2F4AE #FAFBE3

Accessibility & contrast

On white

1.25
#E9EC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#E9EC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9EC78
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9EC78#FFFFFF#000000##000000
##E9EC781.001.2516.7316.73
#FFFFFF1.251.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36D
Deuteranopia (green-blind)
#FDE77E
Tritanopia (blue-blind)
#F6E0D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e9ec78;
/* rgb */ color: rgb(233, 236, 120);
/* oklch */ color: oklch(91.7% 0.139 110.2);
Tailwind
colors: {
  custom: {
    50: '#f2f2a2',
    500: '#e9ec78',
    950: '#000000',
  },
}
SCSS
$custom: #e9ec78;
$custom-light: #f2f2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e9ec78",
  "rgb": {
    "r": 233,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 61.552,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91738,
    "c": 0.13933,
    "h": 110.2
  },
  "luminance": 0.78671
}

Semantic roles & 50–950 ramp

primary
#E9EC78
secondary
#4743C5
accent
#0ED713
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E9EC78

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

Preview Lab → · Contrast checker → · Palette generator →

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