#EEF978#EEF978

#EEF978 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.8% C 0.153 H 113.3°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#EEF978
RGBrgb(238, 249, 120)
HSLhsl(65, 91%, 72%)
HSVhsv(65, 52%, 98%)
CMYKcmyk(4.4%, 0%, 51.8%, 2.4%)
CIE-LABlab(94.86, -20.94, 59.86)
CIE-LCHlch(94.86, 63.42, 109.28°)
OKLaboklab(94.84% -0.0607 0.1406)
OKLCHoklch(94.84% 0.153 113.3)
XYZxyz(72.5271, 87.2858, 30.7929)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF978 #8378F9
analogous
#F9C378 #EEF978 #AEF978
triadic
#EEF978 #78EEF9 #F978EE
tetradic
#EEF978 #78F9C3 #8378F9 #F978AE
square
#EEF978 #78F9C3 #8378F9 #F978AE
split-complementary
#EEF978 #78AEF9 #C378F9
monochromatic
#D9EC0A #E7F63D #EEF978 #F5FCB3 #FBFEE2

Accessibility & contrast

On white

1.14
#EEF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#EEF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF978
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF978#FFFFFF#000000##000000
##EEF9781.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6C
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FBECDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef978;
/* rgb */ color: rgb(238, 249, 120);
/* oklch */ color: oklch(94.8% 0.153 113.3);
Tailwind
colors: {
  custom: {
    50: '#f6fba2',
    500: '#eef978',
    950: '#000000',
  },
}
SCSS
$custom: #eef978;
$custom-light: #f6fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#eef978",
  "rgb": {
    "r": 238,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 65.116,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94842,
    "c": 0.15308,
    "h": 113.3
  },
  "luminance": 0.87285
}

Semantic roles & 50–950 ramp

primary
#EEF978
secondary
#4D40D5
accent
#00E614
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF978

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

Preview Lab → · Contrast checker → · Palette generator →

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