#EEF971#EEF971

#EEF971 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.159 H 113.3°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#EEF971
RGBrgb(238, 249, 113)
HSLhsl(65, 92%, 71%)
HSVhsv(65, 55%, 98%)
CMYKcmyk(4.4%, 0%, 54.6%, 2.4%)
CIE-LABlab(94.79, -21.50, 62.88)
CIE-LCHlch(94.79, 66.45, 108.88°)
OKLaboklab(94.76% -0.0629 0.1464)
OKLCHoklch(94.76% 0.159 113.3)
XYZxyz(72.1177, 87.1221, 28.6368)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF971 #7C71F9
analogous
#F9C071 #EEF971 #AAF971
triadic
#EEF971 #71EEF9 #F971EE
tetradic
#EEF971 #71F9C0 #7C71F9 #F971AA
square
#EEF971 #71F9C0 #7C71F9 #F971AA
split-complementary
#EEF971 #71AAF9 #C071F9
monochromatic
#D4E60A #E7F736 #EEF971 #F5FBAC #FBFEE2

Accessibility & contrast

On white

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

On black

18.42
#EEF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF971
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF971#FFFFFF#000000##000000
##EEF9711.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF63
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FCECDB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef971;
/* rgb */ color: rgb(238, 249, 113);
/* oklch */ color: oklch(94.8% 0.159 113.3);
Tailwind
colors: {
  custom: {
    50: '#f6fb9e',
    500: '#eef971',
    950: '#000000',
  },
}
SCSS
$custom: #eef971;
$custom-light: #f6fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#eef971",
  "rgb": {
    "r": 238,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 64.853,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94764,
    "c": 0.15931,
    "h": 113.3
  },
  "luminance": 0.87121
}

Semantic roles & 50–950 ramp

primary
#EEF971
secondary
#463AD4
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF971

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

Preview Lab → · Contrast checker → · Palette generator →

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