#EECE5B#EECE5B

#EECE5B is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.7% C 0.138 H 93.7°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#EECE5B
RGBrgb(238, 206, 91)
HSLhsl(47, 81%, 65%)
HSVhsv(47, 62%, 93%)
CMYKcmyk(0%, 13.4%, 61.8%, 6.7%)
CIE-LABlab(83.48, -1.75, 59.86)
CIE-LCHlch(83.48, 59.88, 91.68°)
OKLaboklab(85.71% -0.0089 0.1373)
OKLCHoklch(85.71% 0.138 93.7)
XYZxyz(59.2222, 63.0781, 18.9514)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECE5B #5B7BEE
analogous
#EE855B #EECE5B #C4EE5B
triadic
#EECE5B #5BEECE #CE5BEE
tetradic
#EECE5B #5BEE85 #5B7BEE #EE5BC4
square
#EECE5B #5BEE85 #5B7BEE #EE5BC4
split-complementary
#EECE5B #5BC4EE #855BEE
monochromatic
#BB9713 #E8BD24 #EECE5B #F4DF92 #F9EFCA

Accessibility & contrast

On white

1.54
#EECE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#EECE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EECE5B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EECE5B#FFFFFF#000000##000000
##EECE5B1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4E
Deuteranopia (green-blind)
#EAD460
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eece5b;
/* rgb */ color: rgb(238, 206, 91);
/* oklch */ color: oklch(85.7% 0.138 93.7);
Tailwind
colors: {
  custom: {
    50: '#f7dc8e',
    500: '#eece5b',
    950: '#000000',
  },
}
SCSS
$custom: #eece5b;
$custom-light: #f7dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eece5b",
  "rgb": {
    "r": 238,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 46.939,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85709,
    "c": 0.13756,
    "h": 93.7
  },
  "luminance": 0.63075
}

Semantic roles & 50–950 ramp

primary
#EECE5B
secondary
#3351BA
accent
#36DE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EECE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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