#EEF398#EEF398

#EEF398 is a very light, moderate yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.114 H 111.1°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#EEF398
RGBrgb(238, 243, 152)
HSLhsl(63, 79%, 77%)
HSVhsv(63, 37%, 95%)
CMYKcmyk(2.1%, 0%, 37.4%, 4.7%)
CIE-LABlab(93.69, -14.94, 43.33)
CIE-LCHlch(93.69, 45.83, 109.03°)
OKLaboklab(94.03% -0.0409 0.106)
OKLCHoklch(94.03% 0.114 111.1)
XYZxyz(72.9787, 84.5465, 42.1743)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF398 #9D98F3
analogous
#F3CB98 #EEF398 #C0F398
triadic
#EEF398 #98EEF3 #F398EE
tetradic
#EEF398 #98F3CB #9D98F3 #F398C0
square
#EEF398 #98F3CB #9D98F3 #F398C0
split-complementary
#EEF398 #98C0F3 #CB98F3
monochromatic
#DCE62A #E5ED61 #EEF398 #F7F9CF #FAFCE4

Accessibility & contrast

On white

1.17
#EEF398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#EEF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF398
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF398#FFFFFF#000000##000000
##EEF3981.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#FFEE9C
Tritanopia (blue-blind)
#F9E9DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #eef398;
/* rgb */ color: rgb(238, 243, 152);
/* oklch */ color: oklch(94.0% 0.114 111.1);
Tailwind
colors: {
  custom: {
    50: '#f5f7b7',
    500: '#eef398',
    950: '#000000',
  },
}
SCSS
$custom: #eef398;
$custom-light: #f5f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef398",
  "rgb": {
    "r": 238,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 63.297,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94034,
    "c": 0.11359,
    "h": 111.1
  },
  "luminance": 0.84545
}

Semantic roles & 50–950 ramp

primary
#EEF398
secondary
#655ED1
accent
#0ADB16
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF398

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

Preview Lab → · Contrast checker → · Palette generator →

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