#EEF998#EEF998

#EEF998 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.3% C 0.121 H 114.0°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#EEF998
RGBrgb(238, 249, 152)
HSLhsl(67, 89%, 79%)
HSVhsv(67, 39%, 98%)
CMYKcmyk(4.4%, 0%, 39%, 2.4%)
CIE-LABlab(95.24, -17.86, 45.31)
CIE-LCHlch(95.24, 48.71, 111.52°)
OKLaboklab(95.27% -0.0492 0.1105)
OKLCHoklch(95.27% 0.121 114)
XYZxyz(74.8037, 88.1964, 42.7826)
Luminance0.8820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF998 #A398F9
analogous
#F9D398 #EEF998 #BDF998
triadic
#EEF998 #98EEF9 #F998EE
tetradic
#EEF998 #98F9D3 #A398F9 #F998BD
square
#EEF998 #98F9D3 #A398F9 #F998BD
split-complementary
#EEF998 #98BDF9 #D398F9
monochromatic
#DBF224 #E4F65E #EEF998 #F8FCD2 #FAFDE2

Accessibility & contrast

On white

1.13
#EEF998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#EEF998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF998
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF998#FFFFFF#000000##000000
##EEF9981.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF091
Deuteranopia (green-blind)
#FFF29C
Tritanopia (blue-blind)
#F9EFE1
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #eef998;
/* rgb */ color: rgb(238, 249, 152);
/* oklch */ color: oklch(95.3% 0.121 114.0);
Tailwind
colors: {
  custom: {
    50: '#f5fbb7',
    500: '#eef998',
    950: '#000000',
  },
}
SCSS
$custom: #eef998;
$custom-light: #f5fbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef998",
  "rgb": {
    "r": 238,
    "g": 249,
    "b": 152
  },
  "hsl": {
    "h": 66.804,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95273,
    "c": 0.12097,
    "h": 114
  },
  "luminance": 0.88196
}

Semantic roles & 50–950 ramp

primary
#EEF998
secondary
#6A5CD9
accent
#00E61A
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF998

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

Preview Lab → · Contrast checker → · Palette generator →

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