#ECE15A#ECE15A

#ECE15A is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.4% C 0.154 H 104.7°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#ECE15A
RGBrgb(236, 225, 90)
HSLhsl(55, 79%, 64%)
HSVhsv(55, 62%, 93%)
CMYKcmyk(0%, 4.7%, 61.9%, 7.5%)
CIE-LABlab(88.17, -12.23, 65.33)
CIE-LCHlch(88.17, 66.46, 100.60°)
OKLaboklab(89.38% -0.0389 0.1488)
OKLCHoklch(89.38% 0.154 104.7)
XYZxyz(63.3650, 72.4237, 20.3123)
Luminance0.7242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE15A #5A65EC
analogous
#EC985A #ECE15A #AEEC5A
triadic
#ECE15A #5AECE1 #E15AEC
tetradic
#ECE15A #5AEC98 #5A65EC #EC5AAE
square
#ECE15A #5AEC98 #5A65EC #EC5AAE
split-complementary
#ECE15A #5AAEEC #985AEC
monochromatic
#B7AA15 #E6D723 #ECE15A #F2EB91 #F9F5C8

Accessibility & contrast

On white

1.36
#ECE15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#ECE15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE15A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE15A#FFFFFF#000000##000000
##ECE15A1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA4A
Deuteranopia (green-blind)
#F7E062
Tritanopia (blue-blind)
#FCD3C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ece15a;
/* rgb */ color: rgb(236, 225, 90);
/* oklch */ color: oklch(89.4% 0.154 104.7);
Tailwind
colors: {
  custom: {
    50: '#f5ea8e',
    500: '#ece15a',
    950: '#000000',
  },
}
SCSS
$custom: #ece15a;
$custom-light: #f5ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ece15a",
  "rgb": {
    "r": 236,
    "g": 225,
    "b": 90
  },
  "hsl": {
    "h": 55.479,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89383,
    "c": 0.15381,
    "h": 104.7
  },
  "luminance": 0.72421
}

Semantic roles & 50–950 ramp

primary
#ECE15A
secondary
#343EB6
accent
#1ADC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECE15A

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

Preview Lab → · Contrast checker → · Palette generator →

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