#ECF191#ECF191

#ECF191 is a very light, moderate yellow. Relative luminance 0.828; OKLCH L 93.4% C 0.119 H 111.1°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#ECF191
RGBrgb(236, 241, 145)
HSLhsl(63, 77%, 76%)
HSVhsv(63, 40%, 95%)
CMYKcmyk(2.1%, 0%, 39.8%, 5.5%)
CIE-LABlab(92.92, -15.48, 45.74)
CIE-LCHlch(92.92, 48.29, 108.70°)
OKLaboklab(93.36% -0.0428 0.1112)
OKLCHoklch(93.36% 0.119 111.1)
XYZxyz(71.1591, 82.7890, 39.0139)
Luminance0.8279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF191 #9691F1
analogous
#F1C691 #ECF191 #BCF191
triadic
#ECF191 #91ECF1 #F191EC
tetradic
#ECF191 #91F1C6 #9691F1 #F191BC
square
#ECF191 #91F1C6 #9691F1 #F191BC
split-complementary
#ECF191 #91BCF1 #C691F1
monochromatic
#D9E324 #E3EA5B #ECF191 #F5F8C7 #FAFCE4

Accessibility & contrast

On white

1.20
#ECF191 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#ECF191 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF191
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF191#FFFFFF#000000##000000
##ECF1911.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE98A
Deuteranopia (green-blind)
#FFEC95
Tritanopia (blue-blind)
#F8E6DA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf191;
/* rgb */ color: rgb(236, 241, 145);
/* oklch */ color: oklch(93.4% 0.119 111.1);
Tailwind
colors: {
  custom: {
    50: '#f3f5b2',
    500: '#ecf191',
    950: '#000000',
  },
}
SCSS
$custom: #ecf191;
$custom-light: #f3f5b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf191",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 145
  },
  "hsl": {
    "h": 63.125,
    "s": 77.419,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93356,
    "c": 0.11913,
    "h": 111.1
  },
  "luminance": 0.82788
}

Semantic roles & 50–950 ramp

primary
#ECF191
secondary
#5F59CE
accent
#0CDA17
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF191

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

Preview Lab → · Contrast checker → · Palette generator →

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