#EEF797#EEF797

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

Color values

HEX#EEF797
RGBrgb(238, 247, 151)
HSLhsl(66, 86%, 78%)
HSVhsv(66, 39%, 97%)
CMYKcmyk(3.6%, 0%, 38.9%, 3.1%)
CIE-LABlab(94.71, -17.00, 45.12)
CIE-LCHlch(94.71, 48.22, 110.65°)
OKLaboklab(94.84% -0.0468 0.11)
OKLCHoklch(94.84% 0.12 113.1)
XYZxyz(74.1072, 86.9341, 42.1482)
Luminance0.8693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF797 #A097F7
analogous
#F7D097 #EEF797 #BEF797
triadic
#EEF797 #97EEF7 #F797EE
tetradic
#EEF797 #97F7D0 #A097F7 #F797BE
square
#EEF797 #97F7D0 #A097F7 #F797BE
split-complementary
#EEF797 #97BEF7 #D097F7
monochromatic
#DBEE25 #E5F35E #EEF797 #F7FBD0 #FAFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EEF797#FFFFFF#000000##000000
##EEF7971.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)
#FFEF90
Deuteranopia (green-blind)
#FFF19B
Tritanopia (blue-blind)
#F9EDDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef797;
/* rgb */ color: rgb(238, 247, 151);
/* oklch */ color: oklch(94.8% 0.120 113.1);
Tailwind
colors: {
  custom: {
    50: '#f5f9b7',
    500: '#eef797',
    950: '#000000',
  },
}
SCSS
$custom: #eef797;
$custom-light: #f5f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef797",
  "rgb": {
    "r": 238,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 65.625,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94844,
    "c": 0.11957,
    "h": 113.1
  },
  "luminance": 0.86933
}

Semantic roles & 50–950 ramp

primary
#EEF797
secondary
#675CD6
accent
#03E218
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF797

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

Preview Lab → · Contrast checker → · Palette generator →

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