#EEF278#EEF278

#EEF278 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.4% C 0.145 H 110.6°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#EEF278
RGBrgb(238, 242, 120)
HSLhsl(62, 82%, 71%)
HSVhsv(62, 50%, 95%)
CMYKcmyk(1.7%, 0%, 50.4%, 5.1%)
CIE-LABlab(93.03, -17.56, 57.72)
CIE-LCHlch(93.03, 60.33, 106.92°)
OKLaboklab(93.38% -0.0511 0.1359)
OKLCHoklch(93.38% 0.145 110.6)
XYZxyz(70.4037, 83.0390, 30.0851)
Luminance0.8304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF278 #7C78F2
analogous
#F2B978 #EEF278 #B1F278
triadic
#EEF278 #78EEF2 #F278EE
tetradic
#EEF278 #78F2B9 #7C78F2 #F278B1
square
#EEF278 #78F2B9 #7C78F2 #F278B1
split-complementary
#EEF278 #78B1F2 #B978F2
monochromatic
#D4DB15 #E7ED40 #EEF278 #F5F7B0 #FBFCE3

Accessibility & contrast

On white

1.19
#EEF278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#EEF278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF278
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF278#FFFFFF#000000##000000
##EEF2781.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96D
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#FCE5D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eef278;
/* rgb */ color: rgb(238, 242, 120);
/* oklch */ color: oklch(93.4% 0.145 110.6);
Tailwind
colors: {
  custom: {
    50: '#f6f6a2',
    500: '#eef278',
    950: '#000000',
  },
}
SCSS
$custom: #eef278;
$custom-light: #f6f6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#eef278",
  "rgb": {
    "r": 238,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 61.967,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93383,
    "c": 0.14519,
    "h": 110.6
  },
  "luminance": 0.83037
}

Semantic roles & 50–950 ramp

primary
#EEF278
secondary
#4642CC
accent
#07DF0E
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF278

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

Preview Lab → · Contrast checker → · Palette generator →

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