#EEF28F#EEF28F

#EEF28F is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.7% C 0.122 H 110.5°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#EEF28F
RGBrgb(238, 242, 143)
HSLhsl(62, 79%, 75%)
HSVhsv(62, 41%, 95%)
CMYKcmyk(1.7%, 0%, 40.9%, 5.1%)
CIE-LABlab(93.31, -15.41, 47.23)
CIE-LCHlch(93.31, 49.68, 108.07°)
OKLaboklab(93.69% -0.0429 0.1144)
OKLCHoklch(93.69% 0.122 110.5)
XYZxyz(71.9709, 83.6659, 38.3391)
Luminance0.8367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF28F #938FF2
analogous
#F2C48F #EEF28F #BCF28F
triadic
#EEF28F #8FEEF2 #F28FEE
tetradic
#EEF28F #8FF2C4 #938FF2 #F28FBC
square
#EEF28F #8FF2C4 #938FF2 #F28FBC
split-complementary
#EEF28F #8FBCF2 #C48FF2
monochromatic
#DDE521 #E6EC58 #EEF28F #F6F8C6 #FBFCE4

Accessibility & contrast

On white

1.18
#EEF28F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.73
#EEF28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF28F
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF28F#FFFFFF#000000##000000
##EEF28F1.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA87
Deuteranopia (green-blind)
#FFED94
Tritanopia (blue-blind)
#FAE7DA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eef28f;
/* rgb */ color: rgb(238, 242, 143);
/* oklch */ color: oklch(93.7% 0.122 110.5);
Tailwind
colors: {
  custom: {
    50: '#f5f6b1',
    500: '#eef28f',
    950: '#000000',
  },
}
SCSS
$custom: #eef28f;
$custom-light: #f5f6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#eef28f",
  "rgb": {
    "r": 238,
    "g": 242,
    "b": 143
  },
  "hsl": {
    "h": 62.424,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93689,
    "c": 0.12216,
    "h": 110.5
  },
  "luminance": 0.83665
}

Semantic roles & 50–950 ramp

primary
#EEF28F
secondary
#5B57CF
accent
#0ADB12
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF28F

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

Preview Lab → · Contrast checker → · Palette generator →

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