#EEF972#EEF972

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

Color values

HEX#EEF972
RGBrgb(238, 249, 114)
HSLhsl(65, 92%, 71%)
HSVhsv(65, 54%, 98%)
CMYKcmyk(4.4%, 0%, 54.2%, 2.4%)
CIE-LABlab(94.80, -21.42, 62.45)
CIE-LCHlch(94.80, 66.02, 108.93°)
OKLaboklab(94.78% -0.0626 0.1455)
OKLCHoklch(94.78% 0.158 113.3)
XYZxyz(72.1743, 87.1447, 28.9349)
Luminance0.8714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF972 #7D72F9
analogous
#F9C072 #EEF972 #AAF972
triadic
#EEF972 #72EEF9 #F972EE
tetradic
#EEF972 #72F9C0 #7D72F9 #F972AA
square
#EEF972 #72F9C0 #7D72F9 #F972AA
split-complementary
#EEF972 #72AAF9 #C072F9
monochromatic
#D5E70A #E7F737 #EEF972 #F5FBAD #FBFEE2

Accessibility & contrast

On white

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

On black

18.43
#EEF972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF972
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF972#FFFFFF#000000##000000
##EEF9721.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eef972;
/* rgb */ color: rgb(238, 249, 114);
/* oklch */ color: oklch(94.8% 0.158 113.3);
Tailwind
colors: {
  custom: {
    50: '#f6fb9e',
    500: '#eef972',
    950: '#000000',
  },
}
SCSS
$custom: #eef972;
$custom-light: #f6fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#eef972",
  "rgb": {
    "r": 238,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 64.889,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94775,
    "c": 0.15844,
    "h": 113.3
  },
  "luminance": 0.87143
}

Semantic roles & 50–950 ramp

primary
#EEF972
secondary
#473BD4
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF972

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

Preview Lab → · Contrast checker → · Palette generator →

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