#EEF798#EEF798

#EEF798 is a very light, moderate yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.118 H 113.1°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#EEF798
RGBrgb(238, 247, 152)
HSLhsl(66, 86%, 78%)
HSVhsv(66, 38%, 97%)
CMYKcmyk(3.6%, 0%, 38.5%, 3.1%)
CIE-LABlab(94.72, -16.89, 44.65)
CIE-LCHlch(94.72, 47.74, 110.72°)
OKLaboklab(94.86% -0.0464 0.109)
OKLCHoklch(94.86% 0.118 113.1)
XYZxyz(74.1888, 86.9667, 42.5777)
Luminance0.8697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF798 #A198F7
analogous
#F7D098 #EEF798 #BEF798
triadic
#EEF798 #98EEF7 #F798EE
tetradic
#EEF798 #98F7D0 #A198F7 #F798BE
square
#EEF798 #98F7D0 #A198F7 #F798BE
split-complementary
#EEF798 #98BEF7 #D098F7
monochromatic
#DBEE26 #E5F35F #EEF798 #F7FBD1 #FAFDE3

Accessibility & contrast

On white

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

On black

18.39
#EEF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF798
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF798#FFFFFF#000000##000000
##EEF7981.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#F9EDE0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef798;
/* rgb */ color: rgb(238, 247, 152);
/* oklch */ color: oklch(94.9% 0.118 113.1);
Tailwind
colors: {
  custom: {
    50: '#f5f9b7',
    500: '#eef798',
    950: '#000000',
  },
}
SCSS
$custom: #eef798;
$custom-light: #f5f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef798",
  "rgb": {
    "r": 238,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 65.684,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.94859,
    "c": 0.11848,
    "h": 113.1
  },
  "luminance": 0.86966
}

Semantic roles & 50–950 ramp

primary
#EEF798
secondary
#685DD6
accent
#03E219
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF798

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

Preview Lab → · Contrast checker → · Palette generator →

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