#ECE55A#ECE55A

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

Color values

HEX#ECE55A
RGBrgb(236, 229, 90)
HSLhsl(57, 79%, 64%)
HSVhsv(57, 62%, 93%)
CMYKcmyk(0%, 3%, 61.9%, 7.5%)
CIE-LABlab(89.21, -14.20, 66.44)
CIE-LCHlch(89.21, 67.94, 102.07°)
OKLaboklab(90.21% -0.0445 0.1512)
OKLCHoklch(90.21% 0.158 106.4)
XYZxyz(64.4591, 74.6118, 20.6769)
Luminance0.7461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE55A #5A61EC
analogous
#EC9C5A #ECE55A #AAEC5A
triadic
#ECE55A #5AECE5 #E55AEC
tetradic
#ECE55A #5AEC9C #5A61EC #EC5AAA
square
#ECE55A #5AEC9C #5A61EC #EC5AAA
split-complementary
#ECE55A #5AAAEC #9C5AEC
monochromatic
#B7AF15 #E6DC23 #ECE55A #F2EE91 #F9F6C8

Accessibility & contrast

On white

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

On black

15.92
#ECE55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE55A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE55A#FFFFFF#000000##000000
##ECE55A1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece55a;
/* rgb */ color: rgb(236, 229, 90);
/* oklch */ color: oklch(90.2% 0.158 106.4);
Tailwind
colors: {
  custom: {
    50: '#f5ed8f',
    500: '#ece55a',
    950: '#000000',
  },
}
SCSS
$custom: #ece55a;
$custom-light: #f5ed8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ece55a",
  "rgb": {
    "r": 236,
    "g": 229,
    "b": 90
  },
  "hsl": {
    "h": 57.123,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90209,
    "c": 0.15758,
    "h": 106.4
  },
  "luminance": 0.7461
}

Semantic roles & 50–950 ramp

primary
#ECE55A
secondary
#343AB6
accent
#14DC0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECE55A

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

Preview Lab → · Contrast checker → · Palette generator →

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