#EEF897#EEF897

#EEF897 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.0% C 0.121 H 113.5°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#EEF897
RGBrgb(238, 248, 151)
HSLhsl(66, 87%, 78%)
HSVhsv(66, 39%, 97%)
CMYKcmyk(4%, 0%, 39.1%, 2.7%)
CIE-LABlab(94.97, -17.49, 45.45)
CIE-LCHlch(94.97, 48.70, 111.04°)
OKLaboklab(95.05% -0.0482 0.1108)
OKLCHoklch(95.05% 0.121 113.5)
XYZxyz(74.4139, 87.5473, 42.2504)
Luminance0.8755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF897 #A197F8
analogous
#F8D297 #EEF897 #BDF897
triadic
#EEF897 #97EEF8 #F897EE
tetradic
#EEF897 #97F8D2 #A197F8 #F897BD
square
#EEF897 #97F8D2 #A197F8 #F897BD
split-complementary
#EEF897 #97BDF8 #D297F8
monochromatic
#DBF024 #E5F45E #EEF897 #F7FCD0 #FAFDE2

Accessibility & contrast

On white

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

On black

18.51
#EEF897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF897
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF897#FFFFFF#000000##000000
##EEF8971.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF90
Deuteranopia (green-blind)
#FFF29B
Tritanopia (blue-blind)
#F9EEE0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef897;
/* rgb */ color: rgb(238, 248, 151);
/* oklch */ color: oklch(95.0% 0.121 113.5);
Tailwind
colors: {
  custom: {
    50: '#f5fab7',
    500: '#eef897',
    950: '#000000',
  },
}
SCSS
$custom: #eef897;
$custom-light: #f5fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef897",
  "rgb": {
    "r": 238,
    "g": 248,
    "b": 151
  },
  "hsl": {
    "h": 66.186,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.9505,
    "c": 0.12081,
    "h": 113.5
  },
  "luminance": 0.87546
}

Semantic roles & 50–950 ramp

primary
#EEF897
secondary
#685CD8
accent
#02E419
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF897

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

Preview Lab → · Contrast checker → · Palette generator →

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