#EEF98B#EEF98B

#EEF98B is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.1% C 0.135 H 113.7°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#EEF98B
RGBrgb(238, 249, 139)
HSLhsl(66, 90%, 76%)
HSVhsv(66, 44%, 98%)
CMYKcmyk(4.4%, 0%, 44.2%, 2.4%)
CIE-LABlab(95.07, -19.21, 51.34)
CIE-LCHlch(95.07, 54.82, 110.52°)
OKLaboklab(95.08% -0.054 0.1234)
OKLCHoklch(95.08% 0.135 113.7)
XYZxyz(73.7967, 87.7936, 37.4794)
Luminance0.8779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF98B #968BF9
analogous
#F9CD8B #EEF98B #B7F98B
triadic
#EEF98B #8BEEF9 #F98BEE
tetradic
#EEF98B #8BF9CD #968BF9 #F98BB7
square
#EEF98B #8BF9CD #968BF9 #F98BB7
split-complementary
#EEF98B #8BB7F9 #CD8BF9
monochromatic
#DDF317 #E5F651 #EEF98B #F7FCC5 #FBFDE2

Accessibility & contrast

On white

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

On black

18.56
#EEF98B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF98B
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF98B#FFFFFF#000000##000000
##EEF98B1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF082
Deuteranopia (green-blind)
#FFF290
Tritanopia (blue-blind)
#FAEEDF
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #eef98b;
/* rgb */ color: rgb(238, 249, 139);
/* oklch */ color: oklch(95.1% 0.135 113.7);
Tailwind
colors: {
  custom: {
    50: '#f5fbaf',
    500: '#eef98b',
    950: '#000000',
  },
}
SCSS
$custom: #eef98b;
$custom-light: #f5fbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#eef98b",
  "rgb": {
    "r": 238,
    "g": 249,
    "b": 139
  },
  "hsl": {
    "h": 66,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95083,
    "c": 0.13468,
    "h": 113.7
  },
  "luminance": 0.87793
}

Semantic roles & 50–950 ramp

primary
#EEF98B
secondary
#5E51D8
accent
#00E617
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EEF98B

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

Preview Lab → · Contrast checker → · Palette generator →

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