#ECE15B#ECE15B

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

Color values

HEX#ECE15B
RGBrgb(236, 225, 91)
HSLhsl(55, 79%, 64%)
HSVhsv(55, 61%, 93%)
CMYKcmyk(0%, 4.7%, 61.4%, 7.5%)
CIE-LABlab(88.18, -12.16, 64.92)
CIE-LCHlch(88.18, 66.05, 100.61°)
OKLaboklab(89.39% -0.0386 0.1481)
OKLCHoklch(89.39% 0.153 104.6)
XYZxyz(63.4079, 72.4409, 20.5379)
Luminance0.7244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE15B #5B66EC
analogous
#EC995B #ECE15B #AFEC5B
triadic
#ECE15B #5BECE1 #E15BEC
tetradic
#ECE15B #5BEC99 #5B66EC #EC5BAF
square
#ECE15B #5BEC99 #5B66EC #EC5BAF
split-complementary
#ECE15B #5BAFEC #995BEC
monochromatic
#B7AB15 #E6D724 #ECE15B #F2EB92 #F9F5C9

Accessibility & contrast

On white

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

On black

15.49
#ECE15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE15B
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE15B#FFFFFF#000000##000000
##ECE15B1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece15b;
/* rgb */ color: rgb(236, 225, 91);
/* oklch */ color: oklch(89.4% 0.153 104.6);
Tailwind
colors: {
  custom: {
    50: '#f5ea8f',
    500: '#ece15b',
    950: '#000000',
  },
}
SCSS
$custom: #ece15b;
$custom-light: #f5ea8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ece15b",
  "rgb": {
    "r": 236,
    "g": 225,
    "b": 91
  },
  "hsl": {
    "h": 55.448,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89392,
    "c": 0.15303,
    "h": 104.6
  },
  "luminance": 0.72439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECE15B

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

Preview Lab → · Contrast checker → · Palette generator →

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