#EEF873#EEF873

#EEF873 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.6% C 0.156 H 112.9°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#EEF873
RGBrgb(238, 248, 115)
HSLhsl(65, 90%, 71%)
HSVhsv(65, 54%, 97%)
CMYKcmyk(4%, 0%, 53.6%, 2.7%)
CIE-LABlab(94.55, -20.87, 61.72)
CIE-LCHlch(94.55, 65.15, 108.68°)
OKLaboklab(94.58% -0.0609 0.1441)
OKLCHoklch(94.58% 0.156 112.9)
XYZxyz(71.9233, 86.5511, 29.1335)
Luminance0.8655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF873 #7D73F8
analogous
#F8BF73 #EEF873 #ABF873
triadic
#EEF873 #73EEF8 #F873EE
tetradic
#EEF873 #73F8BF #7D73F8 #F873AB
square
#EEF873 #73F8BF #7D73F8 #F873AB
split-complementary
#EEF873 #73ABF8 #BF73F8
monochromatic
#D5E50B #E7F539 #EEF873 #F5FBAD #FBFEE2

Accessibility & contrast

On white

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

On black

18.31
#EEF873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF873
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF873#FFFFFF#000000##000000
##EEF8731.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE66
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FCEBDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eef873;
/* rgb */ color: rgb(238, 248, 115);
/* oklch */ color: oklch(94.6% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#f6fa9f',
    500: '#eef873',
    950: '#000000',
  },
}
SCSS
$custom: #eef873;
$custom-light: #f6fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#eef873",
  "rgb": {
    "r": 238,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 64.511,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94576,
    "c": 0.15644,
    "h": 112.9
  },
  "luminance": 0.8655
}

Semantic roles & 50–950 ramp

primary
#EEF873
secondary
#473CD3
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF873

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

Preview Lab → · Contrast checker → · Palette generator →

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