#ECEE57#ECEE57

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

Color values

HEX#ECEE57
RGBrgb(236, 238, 87)
HSLhsl(61, 82%, 64%)
HSVhsv(61, 63%, 93%)
CMYKcmyk(0.8%, 0%, 63.4%, 6.7%)
CIE-LABlab(91.54, -18.78, 70.10)
CIE-LCHlch(91.54, 72.57, 105.00°)
OKLaboklab(92.06% -0.0578 0.1585)
OKLCHoklch(92.06% 0.169 110)
XYZxyz(66.8890, 79.6718, 20.8697)
Luminance0.7967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEE57 #5957EE
analogous
#EEA457 #ECEE57 #A0EE57
triadic
#ECEE57 #57ECEE #EE57EC
tetradic
#ECEE57 #57EEA4 #5957EE #EE57A0
square
#ECEE57 #57EEA4 #5957EE #EE57A0
split-complementary
#ECEE57 #57A0EE #A457EE
monochromatic
#B6B813 #E6E81F #ECEE57 #F2F48F #F9F9C6

Accessibility & contrast

On white

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

On black

16.93
#ECEE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEE57
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEE57#FFFFFF#000000##000000
##ECEE571.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE443
Deuteranopia (green-blind)
#FFE961
Tritanopia (blue-blind)
#FCE0CF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ecee57;
/* rgb */ color: rgb(236, 238, 87);
/* oklch */ color: oklch(92.1% 0.169 110.0);
Tailwind
colors: {
  custom: {
    50: '#f5f38d',
    500: '#ecee57',
    950: '#000000',
  },
}
SCSS
$custom: #ecee57;
$custom-light: #f5f38d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecee57",
  "rgb": {
    "r": 236,
    "g": 238,
    "b": 87
  },
  "hsl": {
    "h": 60.795,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.92058,
    "c": 0.16865,
    "h": 110
  },
  "luminance": 0.7967
}

Semantic roles & 50–950 ramp

primary
#ECEE57
secondary
#3432B7
accent
#08DE0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECEE57

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

Preview Lab → · Contrast checker → · Palette generator →

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