#ECE55C#ECE55C

#ECE55C is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.2% C 0.156 H 106.4°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#ECE55C
RGBrgb(236, 229, 92)
HSLhsl(57, 79%, 64%)
HSVhsv(57, 61%, 93%)
CMYKcmyk(0%, 3%, 61%, 7.5%)
CIE-LABlab(89.23, -14.08, 65.63)
CIE-LCHlch(89.23, 67.13, 102.11°)
OKLaboklab(90.23% -0.044 0.1497)
OKLCHoklch(90.23% 0.156 106.4)
XYZxyz(64.5453, 74.6463, 21.1313)
Luminance0.7464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE55C #5C63EC
analogous
#EC9D5C #ECE55C #ABEC5C
triadic
#ECE55C #5CECE5 #E55CEC
tetradic
#ECE55C #5CEC9D #5C63EC #EC5CAB
square
#ECE55C #5CEC9D #5C63EC #EC5CAB
split-complementary
#ECE55C #5CABEC #9D5CEC
monochromatic
#B8B015 #E6DC25 #ECE55C #F2EE93 #F9F6CA

Accessibility & contrast

On white

1.32
#ECE55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#ECE55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE55C
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE55C#FFFFFF#000000##000000
##ECE55C1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD4C
Deuteranopia (green-blind)
#FAE364
Tritanopia (blue-blind)
#FCD7C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece55c;
/* rgb */ color: rgb(236, 229, 92);
/* oklch */ color: oklch(90.2% 0.156 106.4);
Tailwind
colors: {
  custom: {
    50: '#f5ed90',
    500: '#ece55c',
    950: '#000000',
  },
}
SCSS
$custom: #ece55c;
$custom-light: #f5ed90;
$custom-dark: #000000;
JSON
{
  "hex": "#ece55c",
  "rgb": {
    "r": 236,
    "g": 229,
    "b": 92
  },
  "hsl": {
    "h": 57.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90228,
    "c": 0.15604,
    "h": 106.4
  },
  "luminance": 0.74644
}

Semantic roles & 50–950 ramp

primary
#ECE55C
secondary
#353BB8
accent
#14DB0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE55C

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

Preview Lab → · Contrast checker → · Palette generator →

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