#EEF997#EEF997

#EEF997 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.3% C 0.122 H 114.0°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#EEF997
RGBrgb(238, 249, 151)
HSLhsl(67, 89%, 78%)
HSVhsv(67, 39%, 98%)
CMYKcmyk(4.4%, 0%, 39.4%, 2.4%)
CIE-LABlab(95.23, -17.97, 45.78)
CIE-LCHlch(95.23, 49.18, 111.43°)
OKLaboklab(95.26% -0.0496 0.1115)
OKLCHoklch(95.26% 0.122 114)
XYZxyz(74.7221, 88.1638, 42.3531)
Luminance0.8816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF997 #A297F9
analogous
#F9D397 #EEF997 #BDF997
triadic
#EEF997 #97EEF9 #F997EE
tetradic
#EEF997 #97F9D3 #A297F9 #F997BD
square
#EEF997 #97F9D3 #A297F9 #F997BD
split-complementary
#EEF997 #97BDF9 #D397F9
monochromatic
#DBF223 #E5F65D #EEF997 #F7FCD1 #FAFDE2

Accessibility & contrast

On white

1.13
#EEF997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.63
#EEF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF997
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF997#FFFFFF#000000##000000
##EEF9971.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FFF29C
Tritanopia (blue-blind)
#F9EFE1
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #eef997;
/* rgb */ color: rgb(238, 249, 151);
/* oklch */ color: oklch(95.3% 0.122 114.0);
Tailwind
colors: {
  custom: {
    50: '#f5fbb7',
    500: '#eef997',
    950: '#000000',
  },
}
SCSS
$custom: #eef997;
$custom-light: #f5fbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef997",
  "rgb": {
    "r": 238,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 66.735,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95258,
    "c": 0.12205,
    "h": 114
  },
  "luminance": 0.88163
}

Semantic roles & 50–950 ramp

primary
#EEF997
secondary
#695BD9
accent
#00E61A
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF997

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

Preview Lab → · Contrast checker → · Palette generator →

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