#EECC5F#EECC5F

#EECC5F is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.4% C 0.133 H 92.0°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#EECC5F
RGBrgb(238, 204, 95)
HSLhsl(46, 81%, 65%)
HSVhsv(46, 60%, 93%)
CMYKcmyk(0%, 14.3%, 60.1%, 6.7%)
CIE-LABlab(83.02, -0.46, 57.55)
CIE-LCHlch(83.02, 57.55, 90.46°)
OKLaboklab(85.35% -0.0047 0.1329)
OKLCHoklch(85.35% 0.133 92)
XYZxyz(58.9210, 62.1922, 19.7250)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECC5F #5F81EE
analogous
#EE845F #EECC5F #C9EE5F
triadic
#EECC5F #5FEECC #CC5FEE
tetradic
#EECC5F #5FEE84 #5F81EE #EE5FC9
square
#EECC5F #5FEE84 #5F81EE #EE5FC9
split-complementary
#EECC5F #5FC9EE #845FEE
monochromatic
#BE9614 #E8BA28 #EECC5F #F4DE96 #FAEFCE

Accessibility & contrast

On white

1.56
#EECC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#EECC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EECC5F
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EECC5F#FFFFFF#000000##000000
##EECC5F1.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C954
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eecc5f;
/* rgb */ color: rgb(238, 204, 95);
/* oklch */ color: oklch(85.4% 0.133 92.0);
Tailwind
colors: {
  custom: {
    50: '#f7db90',
    500: '#eecc5f',
    950: '#000000',
  },
}
SCSS
$custom: #eecc5f;
$custom-light: #f7db90;
$custom-dark: #000000;
JSON
{
  "hex": "#eecc5f",
  "rgb": {
    "r": 238,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 45.734,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85351,
    "c": 0.13294,
    "h": 92
  },
  "luminance": 0.62189
}

Semantic roles & 50–950 ramp

primary
#EECC5F
secondary
#3455BD
accent
#3BDD08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #EECC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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