#EEF878#EEF878

#EEF878 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.152 H 113.0°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#EEF878
RGBrgb(238, 248, 120)
HSLhsl(65, 90%, 72%)
HSVhsv(65, 52%, 97%)
CMYKcmyk(4%, 0%, 51.6%, 2.7%)
CIE-LABlab(94.60, -20.46, 59.55)
CIE-LCHlch(94.60, 62.97, 108.96°)
OKLaboklab(94.63% -0.0593 0.1399)
OKLCHoklch(94.63% 0.152 113)
XYZxyz(72.2189, 86.6693, 30.6901)
Luminance0.8667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF878 #8278F8
analogous
#F8C278 #EEF878 #AEF878
triadic
#EEF878 #78EEF8 #F878EE
tetradic
#EEF878 #78F8C2 #8278F8 #F878AE
square
#EEF878 #78F8C2 #8278F8 #F878AE
split-complementary
#EEF878 #78AEF8 #C278F8
monochromatic
#D8E90C #E7F53E #EEF878 #F5FBB2 #FBFDE2

Accessibility & contrast

On white

1.15
#EEF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.33
#EEF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF878
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF878#FFFFFF#000000##000000
##EEF8781.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FBEBDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eef878;
/* rgb */ color: rgb(238, 248, 120);
/* oklch */ color: oklch(94.6% 0.152 113.0);
Tailwind
colors: {
  custom: {
    50: '#f6faa2',
    500: '#eef878',
    950: '#000000',
  },
}
SCSS
$custom: #eef878;
$custom-light: #f6faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#eef878",
  "rgb": {
    "r": 238,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 64.688,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94633,
    "c": 0.15194,
    "h": 113
  },
  "luminance": 0.86668
}

Semantic roles & 50–950 ramp

primary
#EEF878
secondary
#4C40D4
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF878

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

Preview Lab → · Contrast checker → · Palette generator →

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