#EEE798#EEE798

#EEE798 is a very light, moderate yellow. Relative luminance 0.776; OKLCH L 91.6% C 0.100 H 103.8°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#EEE798
RGBrgb(238, 231, 152)
HSLhsl(55, 72%, 76%)
HSVhsv(55, 36%, 93%)
CMYKcmyk(0%, 2.9%, 36.1%, 6.7%)
CIE-LABlab(90.60, -9.00, 39.34)
CIE-LCHlch(90.60, 40.36, 102.89°)
OKLaboklab(91.58% -0.0238 0.0968)
OKLCHoklch(91.58% 0.1 103.8)
XYZxyz(69.5043, 77.5976, 41.0162)
Luminance0.7760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEE798 #989FEE
analogous
#EEBC98 #EEE798 #CAEE98
triadic
#EEE798 #98EEE7 #E798EE
tetradic
#EEE798 #98EEBC #989FEE #EE98CA
square
#EEE798 #98EEBC #989FEE #EE98CA
split-complementary
#EEE798 #98CAEE #BC98EE
monochromatic
#DDCF2F #E5DB63 #EEE798 #F7F3CD #FBF9E5

Accessibility & contrast

On white

1.27
#EEE798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#EEE798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEE798
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEE798#FFFFFF#000000##000000
##EEE7981.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E292
Deuteranopia (green-blind)
#F7E69B
Tritanopia (blue-blind)
#FADDD3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #eee798;
/* rgb */ color: rgb(238, 231, 152);
/* oklch */ color: oklch(91.6% 0.100 103.8);
Tailwind
colors: {
  custom: {
    50: '#f4eeb7',
    500: '#eee798',
    950: '#000000',
  },
}
SCSS
$custom: #eee798;
$custom-light: #f4eeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#eee798",
  "rgb": {
    "r": 238,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 55.116,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.91578,
    "c": 0.09972,
    "h": 103.8
  },
  "luminance": 0.77596
}

Semantic roles & 50–950 ramp

primary
#EEE798
secondary
#6069CA
accent
#22D412
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EEE798

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

Preview Lab → · Contrast checker → · Palette generator →

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