#EEF151#EEF151

#EEF151 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.8% C 0.175 H 110.4°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#EEF151
RGBrgb(238, 241, 81)
HSLhsl(61, 85%, 63%)
HSVhsv(61, 66%, 95%)
CMYKcmyk(1.2%, 0%, 66.4%, 5.5%)
CIE-LABlab(92.44, -19.76, 73.35)
CIE-LCHlch(92.44, 75.96, 105.08°)
OKLaboklab(92.8% -0.0612 0.1644)
OKLCHoklch(92.8% 0.175 110.4)
XYZxyz(68.2026, 81.6836, 19.9568)
Luminance0.8168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF151 #5451F1
analogous
#F1A451 #EEF151 #9EF151
triadic
#EEF151 #51EEF1 #F151EE
tetradic
#EEF151 #51F1A4 #5451F1 #F1519E
square
#EEF151 #51F1A4 #5451F1 #F1519E
split-complementary
#EEF151 #519EF1 #A451F1
monochromatic
#B6B90F #E8EC18 #EEF151 #F4F68A #F9FAC2

Accessibility & contrast

On white

1.21
#EEF151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#EEF151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF151
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF151#FFFFFF#000000##000000
##EEF1511.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE739
Deuteranopia (green-blind)
#FFEC5C
Tritanopia (blue-blind)
#FEE2D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eef151;
/* rgb */ color: rgb(238, 241, 81);
/* oklch */ color: oklch(92.8% 0.175 110.4);
Tailwind
colors: {
  custom: {
    50: '#f7f58a',
    500: '#eef151',
    950: '#000000',
  },
}
SCSS
$custom: #eef151;
$custom-light: #f7f58a;
$custom-dark: #000000;
JSON
{
  "hex": "#eef151",
  "rgb": {
    "r": 238,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 61.125,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.92799,
    "c": 0.17538,
    "h": 110.4
  },
  "luminance": 0.81682
}

Semantic roles & 50–950 ramp

primary
#EEF151
secondary
#312FB8
accent
#04E208
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #EEF151

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

Preview Lab → · Contrast checker → · Palette generator →

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