#ECF591#ECF591

#ECF591 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.124 H 113.0°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#ECF591
RGBrgb(236, 245, 145)
HSLhsl(65, 83%, 76%)
HSVhsv(65, 41%, 96%)
CMYKcmyk(3.7%, 0%, 40.8%, 3.9%)
CIE-LABlab(93.96, -17.43, 47.05)
CIE-LCHlch(93.96, 50.18, 110.33°)
OKLaboklab(94.18% -0.0484 0.1141)
OKLCHoklch(94.18% 0.124 113)
XYZxyz(72.3561, 85.1831, 39.4129)
Luminance0.8518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF591 #9A91F5
analogous
#F5CC91 #ECF591 #BAF591
triadic
#ECF591 #91ECF5 #F591EC
tetradic
#ECF591 #91F5CC #9A91F5 #F591BA
square
#ECF591 #91F5CC #9A91F5 #F591BA
split-complementary
#ECF591 #91BAF5 #CC91F5
monochromatic
#D9EB21 #E2F059 #ECF591 #F6FAC9 #FAFCE3

Accessibility & contrast

On white

1.16
#ECF591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#ECF591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF591
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF591#FFFFFF#000000##000000
##ECF5911.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC89
Deuteranopia (green-blind)
#FFEF96
Tritanopia (blue-blind)
#F7EADD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf591;
/* rgb */ color: rgb(236, 245, 145);
/* oklch */ color: oklch(94.2% 0.124 113.0);
Tailwind
colors: {
  custom: {
    50: '#f3f8b3',
    500: '#ecf591',
    950: '#000000',
  },
}
SCSS
$custom: #ecf591;
$custom-light: #f3f8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf591",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 65.4,
    "s": 83.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94184,
    "c": 0.12396,
    "h": 113
  },
  "luminance": 0.85182
}

Semantic roles & 50–950 ramp

primary
#ECF591
secondary
#6257D3
accent
#06E019
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF591

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

Preview Lab → · Contrast checker → · Palette generator →

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