#ECE15F#ECE15F

#ECE15F is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.4% C 0.150 H 104.5°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#ECE15F
RGBrgb(236, 225, 95)
HSLhsl(55, 79%, 65%)
HSVhsv(55, 60%, 93%)
CMYKcmyk(0%, 4.7%, 59.7%, 7.5%)
CIE-LABlab(88.21, -11.90, 63.27)
CIE-LCHlch(88.21, 64.38, 100.66°)
OKLaboklab(89.43% -0.0374 0.1451)
OKLCHoklch(89.43% 0.15 104.5)
XYZxyz(63.5851, 72.5117, 21.4710)
Luminance0.7251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE15F #5F6AEC
analogous
#EC9A5F #ECE15F #B1EC5F
triadic
#ECE15F #5FECE1 #E15FEC
tetradic
#ECE15F #5FEC9A #5F6AEC #EC5FB1
square
#ECE15F #5FEC9A #5F6AEC #EC5FB1
split-complementary
#ECE15F #5FB1EC #9A5FEC
monochromatic
#BAAE16 #E6D728 #ECE15F #F2EB96 #F9F6CC

Accessibility & contrast

On white

1.35
#ECE15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#ECE15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE15F
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE15F#FFFFFF#000000##000000
##ECE15F1.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece15f;
/* rgb */ color: rgb(236, 225, 95);
/* oklch */ color: oklch(89.4% 0.150 104.5);
Tailwind
colors: {
  custom: {
    50: '#f5ea91',
    500: '#ece15f',
    950: '#000000',
  },
}
SCSS
$custom: #ece15f;
$custom-light: #f5ea91;
$custom-dark: #000000;
JSON
{
  "hex": "#ece15f",
  "rgb": {
    "r": 236,
    "g": 225,
    "b": 95
  },
  "hsl": {
    "h": 55.319,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8943,
    "c": 0.14986,
    "h": 104.5
  },
  "luminance": 0.7251
}

Semantic roles & 50–950 ramp

primary
#ECE15F
secondary
#3640BA
accent
#1BDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE15F

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

Preview Lab → · Contrast checker → · Palette generator →

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