#EEE997#EEE997

#EEE997 is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 92.0% C 0.103 H 105.2°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#EEE997
RGBrgb(238, 233, 151)
HSLhsl(57, 72%, 76%)
HSVhsv(57, 37%, 93%)
CMYKcmyk(0%, 2.1%, 36.6%, 6.7%)
CIE-LABlab(91.09, -10.11, 40.49)
CIE-LCHlch(91.09, 41.73, 104.02°)
OKLaboklab(91.97% -0.0271 0.0994)
OKLCHoklch(91.97% 0.103 105.2)
XYZxyz(69.9857, 78.6909, 40.7743)
Luminance0.7869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEE997 #979CEE
analogous
#EEBE97 #EEE997 #C8EE97
triadic
#EEE997 #97EEE9 #E997EE
tetradic
#EEE997 #97EEBE #979CEE #EE97C8
square
#EEE997 #97EEBE #979CEE #EE97C8
split-complementary
#EEE997 #97C8EE #BE97EE
monochromatic
#DDD32E #E5DE62 #EEE997 #F7F4CC #FBF9E5

Accessibility & contrast

On white

1.25
#EEE997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#EEE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEE997
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEE997#FFFFFF#000000##000000
##EEE9971.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E391
Deuteranopia (green-blind)
#F9E79A
Tritanopia (blue-blind)
#FADFD4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eee997;
/* rgb */ color: rgb(238, 233, 151);
/* oklch */ color: oklch(92.0% 0.103 105.2);
Tailwind
colors: {
  custom: {
    50: '#f5efb6',
    500: '#eee997',
    950: '#000000',
  },
}
SCSS
$custom: #eee997;
$custom-light: #f5efb6;
$custom-dark: #000000;
JSON
{
  "hex": "#eee997",
  "rgb": {
    "r": 238,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 56.552,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.91969,
    "c": 0.10305,
    "h": 105.2
  },
  "luminance": 0.78689
}

Semantic roles & 50–950 ramp

primary
#EEE997
secondary
#5F65CA
accent
#1DD412
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EEE997

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

Preview Lab → · Contrast checker → · Palette generator →

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