#ECF181#ECF181

#ECF181 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.1% C 0.136 H 111.0°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#ECF181
RGBrgb(236, 241, 129)
HSLhsl(63, 80%, 73%)
HSVhsv(63, 46%, 95%)
CMYKcmyk(2.1%, 0%, 46.5%, 5.5%)
CIE-LABlab(92.72, -17.06, 53.15)
CIE-LCHlch(92.72, 55.82, 107.80°)
OKLaboklab(93.13% -0.0487 0.1267)
OKLCHoklch(93.13% 0.136 111)
XYZxyz(70.0111, 82.3298, 32.9678)
Luminance0.8233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF181 #8681F1
analogous
#F1BE81 #ECF181 #B4F181
triadic
#ECF181 #81ECF1 #F181EC
tetradic
#ECF181 #81F1BE #8681F1 #F181B4
square
#ECF181 #81F1BE #8681F1 #F181B4
split-complementary
#ECF181 #81B4F1 #BE81F1
monochromatic
#D6DF19 #E4EB4A #ECF181 #F4F7B8 #FBFCE3

Accessibility & contrast

On white

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

On black

17.47
#ECF181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF181
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF181#FFFFFF#000000##000000
##ECF1811.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#FFEC87
Tritanopia (blue-blind)
#F9E5D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf181;
/* rgb */ color: rgb(236, 241, 129);
/* oklch */ color: oklch(93.1% 0.136 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5a8',
    500: '#ecf181',
    950: '#000000',
  },
}
SCSS
$custom: #ecf181;
$custom-light: #f4f5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf181",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 62.679,
    "s": 80,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9313,
    "c": 0.13572,
    "h": 111
  },
  "luminance": 0.82328
}

Semantic roles & 50–950 ramp

primary
#ECF181
secondary
#504ACC
accent
#09DC13
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF181

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

Preview Lab → · Contrast checker → · Palette generator →

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