#EEF97B#EEF97B

#EEF97B is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.9% C 0.150 H 113.4°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#EEF97B
RGBrgb(238, 249, 123)
HSLhsl(65, 91%, 73%)
HSVhsv(65, 51%, 98%)
CMYKcmyk(4.4%, 0%, 50.6%, 2.4%)
CIE-LABlab(94.89, -20.69, 58.54)
CIE-LCHlch(94.89, 62.09, 109.46°)
OKLaboklab(94.88% -0.0597 0.138)
OKLCHoklch(94.88% 0.15 113.4)
XYZxyz(72.7120, 87.3598, 31.7668)
Luminance0.8736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF97B #867BF9
analogous
#F9C57B #EEF97B #AFF97B
triadic
#EEF97B #7BEEF9 #F97BEE
tetradic
#EEF97B #7BF9C5 #867BF9 #F97BAF
square
#EEF97B #7BF9C5 #867BF9 #F97BAF
split-complementary
#EEF97B #7BAFF9 #C57BF9
monochromatic
#DBEF0B #E6F640 #EEF97B #F6FCB6 #FBFEE2

Accessibility & contrast

On white

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

On black

18.47
#EEF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF97B
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF97B#FFFFFF#000000##000000
##EEF97B1.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6F
Deuteranopia (green-blind)
#FFF282
Tritanopia (blue-blind)
#FBEDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef97b;
/* rgb */ color: rgb(238, 249, 123);
/* oklch */ color: oklch(94.9% 0.150 113.4);
Tailwind
colors: {
  custom: {
    50: '#f6fba4',
    500: '#eef97b',
    950: '#000000',
  },
}
SCSS
$custom: #eef97b;
$custom-light: #f6fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#eef97b",
  "rgb": {
    "r": 238,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 65.238,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94877,
    "c": 0.15032,
    "h": 113.4
  },
  "luminance": 0.87359
}

Semantic roles & 50–950 ramp

primary
#EEF97B
secondary
#4F43D6
accent
#00E614
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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