#ECE959#ECE959

#ECE959 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.0% C 0.162 H 108.1°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#ECE959
RGBrgb(236, 233, 89)
HSLhsl(59, 79%, 64%)
HSVhsv(59, 62%, 93%)
CMYKcmyk(0%, 1.3%, 62.3%, 7.5%)
CIE-LABlab(90.25, -16.23, 67.94)
CIE-LCHlch(90.25, 69.86, 103.43°)
OKLaboklab(91.03% -0.0504 0.1542)
OKLCHoklch(91.03% 0.162 108.1)
XYZxyz(65.5363, 76.8339, 20.8275)
Luminance0.7683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE959 #595CEC
analogous
#EC9F59 #ECE959 #A5EC59
triadic
#ECE959 #59ECE9 #E959EC
tetradic
#ECE959 #59EC9F #595CEC #EC59A5
square
#ECE959 #59EC9F #595CEC #EC59A5
split-complementary
#ECE959 #59A5EC #9F59EC
monochromatic
#B6B315 #E6E222 #ECE959 #F2F090 #F9F8C7

Accessibility & contrast

On white

1.28
#ECE959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#ECE959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE959
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE959#FFFFFF#000000##000000
##ECE9591.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE047
Deuteranopia (green-blind)
#FDE662
Tritanopia (blue-blind)
#FCDBCB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece959;
/* rgb */ color: rgb(236, 233, 89);
/* oklch */ color: oklch(91.0% 0.162 108.1);
Tailwind
colors: {
  custom: {
    50: '#f5ef8e',
    500: '#ece959',
    950: '#000000',
  },
}
SCSS
$custom: #ece959;
$custom-light: #f5ef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ece959",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 58.776,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91031,
    "c": 0.16222,
    "h": 108.1
  },
  "luminance": 0.76832
}

Semantic roles & 50–950 ramp

primary
#ECE959
secondary
#3436B5
accent
#0EDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECE959

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

Preview Lab → · Contrast checker → · Palette generator →

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