#ECEE5C#ECEE5C

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

Color values

HEX#ECEE5C
RGBrgb(236, 238, 92)
HSLhsl(61, 81%, 65%)
HSVhsv(61, 61%, 93%)
CMYKcmyk(0.8%, 0%, 61.3%, 6.7%)
CIE-LABlab(91.58, -18.48, 68.15)
CIE-LCHlch(91.58, 70.61, 105.17°)
OKLaboklab(92.1% -0.0564 0.155)
OKLCHoklch(92.1% 0.165 110)
XYZxyz(67.1004, 79.7564, 21.9830)
Luminance0.7975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEE5C #5E5CEE
analogous
#EEA75C #ECEE5C #A3EE5C
triadic
#ECEE5C #5CECEE #EE5CEC
tetradic
#ECEE5C #5CEEA7 #5E5CEE #EE5CA3
square
#ECEE5C #5CEEA7 #5E5CEE #EE5CA3
split-complementary
#ECEE5C #5CA3EE #A75CEE
monochromatic
#BABC14 #E6E825 #ECEE5C #F2F493 #F9FACB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECEE5C#FFFFFF#000000##000000
##ECEE5C1.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)
#FFE44A
Deuteranopia (green-blind)
#FFE965
Tritanopia (blue-blind)
#FBE0D0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ecee5c;
/* rgb */ color: rgb(236, 238, 92);
/* oklch */ color: oklch(92.1% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#f5f390',
    500: '#ecee5c',
    950: '#000000',
  },
}
SCSS
$custom: #ecee5c;
$custom-light: #f5f390;
$custom-dark: #000000;
JSON
{
  "hex": "#ecee5c",
  "rgb": {
    "r": 236,
    "g": 238,
    "b": 92
  },
  "hsl": {
    "h": 60.822,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.921,
    "c": 0.16498,
    "h": 110
  },
  "luminance": 0.79755
}

Semantic roles & 50–950 ramp

primary
#ECEE5C
secondary
#3533BB
accent
#08DD0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECEE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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