#EEE478#EEE478

#EEE478 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.5% C 0.130 H 103.9°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#EEE478
RGBrgb(238, 228, 120)
HSLhsl(55, 78%, 70%)
HSVhsv(55, 50%, 93%)
CMYKcmyk(0%, 4.2%, 49.6%, 6.7%)
CIE-LABlab(89.40, -10.68, 53.42)
CIE-LCHlch(89.40, 54.48, 101.30°)
OKLaboklab(90.5% -0.0314 0.1265)
OKLCHoklch(90.5% 0.13 103.9)
XYZxyz(66.3953, 75.0221, 28.7489)
Luminance0.7502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEE478 #7882EE
analogous
#EEA978 #EEE478 #BDEE78
triadic
#EEE478 #78EEE4 #E478EE
tetradic
#EEE478 #78EEA9 #7882EE #EE78BD
square
#EEE478 #78EEA9 #7882EE #EE78BD
split-complementary
#EEE478 #78BDEE #A978EE
monochromatic
#D1C21A #E7D942 #EEE478 #F5EFAE #FCFAE4

Accessibility & contrast

On white

1.31
#EEE478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#EEE478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEE478
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEE478#FFFFFF#000000##000000
##EEE4781.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6E
Deuteranopia (green-blind)
#F8E37D
Tritanopia (blue-blind)
#FDD7CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #eee478;
/* rgb */ color: rgb(238, 228, 120);
/* oklch */ color: oklch(90.5% 0.130 103.9);
Tailwind
colors: {
  custom: {
    50: '#f6eca1',
    500: '#eee478',
    950: '#000000',
  },
}
SCSS
$custom: #eee478;
$custom-light: #f6eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#eee478",
  "rgb": {
    "r": 238,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 54.915,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90495,
    "c": 0.13038,
    "h": 103.9
  },
  "luminance": 0.7502
}

Semantic roles & 50–950 ramp

primary
#EEE478
secondary
#434EC7
accent
#1DDA0C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EEE478

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

Preview Lab → · Contrast checker → · Palette generator →

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