#EEF796#EEF796

#EEF796 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.8% C 0.121 H 113.0°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#EEF796
RGBrgb(238, 247, 150)
HSLhsl(66, 86%, 78%)
HSVhsv(66, 39%, 97%)
CMYKcmyk(3.6%, 0%, 39.3%, 3.1%)
CIE-LABlab(94.70, -17.11, 45.59)
CIE-LCHlch(94.70, 48.69, 110.57°)
OKLaboklab(94.83% -0.0472 0.111)
OKLCHoklch(94.83% 0.121 113)
XYZxyz(74.0264, 86.9017, 41.7223)
Luminance0.8690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF796 #9F96F7
analogous
#F7CF96 #EEF796 #BDF796
triadic
#EEF796 #96EEF7 #F796EE
tetradic
#EEF796 #96F7CF #9F96F7 #F796BD
square
#EEF796 #96F7CF #9F96F7 #F796BD
split-complementary
#EEF796 #96BDF7 #CF96F7
monochromatic
#DCEE24 #E5F35D #EEF796 #F7FBCF #FAFDE3

Accessibility & contrast

On white

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

On black

18.38
#EEF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF796
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF796#FFFFFF#000000##000000
##EEF7961.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FFF19A
Tritanopia (blue-blind)
#F9EDDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef796;
/* rgb */ color: rgb(238, 247, 150);
/* oklch */ color: oklch(94.8% 0.121 113.0);
Tailwind
colors: {
  custom: {
    50: '#f5f9b6',
    500: '#eef796',
    950: '#000000',
  },
}
SCSS
$custom: #eef796;
$custom-light: #f5f9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eef796",
  "rgb": {
    "r": 238,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 65.567,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94828,
    "c": 0.12066,
    "h": 113
  },
  "luminance": 0.86901
}

Semantic roles & 50–950 ramp

primary
#EEF796
secondary
#665BD6
accent
#03E218
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF796

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

Preview Lab → · Contrast checker → · Palette generator →

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