#ECEE5B#ECEE5B

#ECEE5B is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.1% C 0.166 H 110.0°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#ECEE5B
RGBrgb(236, 238, 91)
HSLhsl(61, 81%, 65%)
HSVhsv(61, 62%, 93%)
CMYKcmyk(0.8%, 0%, 61.8%, 6.7%)
CIE-LABlab(91.57, -18.54, 68.54)
CIE-LCHlch(91.57, 71.00, 105.14°)
OKLaboklab(92.09% -0.0567 0.1557)
OKLCHoklch(92.09% 0.166 110)
XYZxyz(67.0570, 79.7390, 21.7543)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEE5B #5D5BEE
analogous
#EEA65B #ECEE5B #A3EE5B
triadic
#ECEE5B #5BECEE #EE5BEC
tetradic
#ECEE5B #5BEEA6 #5D5BEE #EE5BA3
square
#ECEE5B #5BEEA6 #5D5BEE #EE5BA3
split-complementary
#ECEE5B #5BA3EE #A65BEE
monochromatic
#B9BB13 #E6E824 #ECEE5B #F2F492 #F9F9CA

Accessibility & contrast

On white

1.24
#ECEE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#ECEE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEE5B
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEE5B#FFFFFF#000000##000000
##ECEE5B1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE448
Deuteranopia (green-blind)
#FFE964
Tritanopia (blue-blind)
#FBE0CF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ecee5b;
/* rgb */ color: rgb(236, 238, 91);
/* oklch */ color: oklch(92.1% 0.166 110.0);
Tailwind
colors: {
  custom: {
    50: '#f5f390',
    500: '#ecee5b',
    950: '#000000',
  },
}
SCSS
$custom: #ecee5b;
$custom-light: #f5f390;
$custom-dark: #000000;
JSON
{
  "hex": "#ecee5b",
  "rgb": {
    "r": 236,
    "g": 238,
    "b": 91
  },
  "hsl": {
    "h": 60.816,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92091,
    "c": 0.16573,
    "h": 110
  },
  "luminance": 0.79737
}

Semantic roles & 50–950 ramp

primary
#ECEE5B
secondary
#3533BA
accent
#08DE0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECEE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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