#EECE5C#EECE5C

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

Color values

HEX#EECE5C
RGBrgb(238, 206, 92)
HSLhsl(47, 81%, 65%)
HSVhsv(47, 61%, 93%)
CMYKcmyk(0%, 13.4%, 61.3%, 6.7%)
CIE-LABlab(83.49, -1.69, 59.42)
CIE-LCHlch(83.49, 59.45, 91.63°)
OKLaboklab(85.72% -0.0086 0.1365)
OKLCHoklch(85.72% 0.137 93.6)
XYZxyz(59.2656, 63.0955, 19.1801)
Luminance0.6309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECE5C #5C7CEE
analogous
#EE855C #EECE5C #C5EE5C
triadic
#EECE5C #5CEECE #CE5CEE
tetradic
#EECE5C #5CEE85 #5C7CEE #EE5CC5
square
#EECE5C #5CEE85 #5C7CEE #EE5CC5
split-complementary
#EECE5C #5CC5EE #855CEE
monochromatic
#BC9714 #E8BD25 #EECE5C #F4DF93 #FAEFCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EECE5C#FFFFFF#000000##000000
##EECE5C1.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)
#E2CA50
Deuteranopia (green-blind)
#EAD461
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eece5c;
/* rgb */ color: rgb(238, 206, 92);
/* oklch */ color: oklch(85.7% 0.137 93.6);
Tailwind
colors: {
  custom: {
    50: '#f7dc8e',
    500: '#eece5c',
    950: '#000000',
  },
}
SCSS
$custom: #eece5c;
$custom-light: #f7dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eece5c",
  "rgb": {
    "r": 238,
    "g": 206,
    "b": 92
  },
  "hsl": {
    "h": 46.849,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85719,
    "c": 0.13675,
    "h": 93.6
  },
  "luminance": 0.63092
}

Semantic roles & 50–950 ramp

primary
#EECE5C
secondary
#3351BB
accent
#37DD08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EECE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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