#ECF09A#ECF09A

#ECF09A is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.108 H 110.6°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#ECF09A
RGBrgb(236, 240, 154)
HSLhsl(63, 74%, 77%)
HSVhsv(63, 36%, 94%)
CMYKcmyk(1.7%, 0%, 35.8%, 5.9%)
CIE-LABlab(92.79, -14.00, 41.16)
CIE-LCHlch(92.79, 43.47, 108.79°)
OKLaboklab(93.29% -0.038 0.1011)
OKLCHoklch(93.29% 0.108 110.6)
XYZxyz(71.5855, 82.4873, 42.7162)
Luminance0.8249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF09A #9E9AF0
analogous
#F0C99A #ECF09A #C1F09A
triadic
#ECF09A #9AECF0 #F09AEC
tetradic
#ECF09A #9AF0C9 #9E9AF0 #F09AC1
square
#ECF09A #9AF0C9 #9E9AF0 #F09AC1
split-complementary
#ECF09A #9AC1F0 #C99AF0
monochromatic
#D8E02F #E2E865 #ECF09A #F6F8CF #FAFBE4

Accessibility & contrast

On white

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

On black

17.50
#ECF09A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF09A
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF09A#FFFFFF#000000##000000
##ECF09A1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE994
Deuteranopia (green-blind)
#FDEC9E
Tritanopia (blue-blind)
#F7E6DA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf09a;
/* rgb */ color: rgb(236, 240, 154);
/* oklch */ color: oklch(93.3% 0.108 110.6);
Tailwind
colors: {
  custom: {
    50: '#f3f4b9',
    500: '#ecf09a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf09a;
$custom-light: #f3f4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf09a",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 154
  },
  "hsl": {
    "h": 62.791,
    "s": 74.138,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93292,
    "c": 0.108,
    "h": 110.6
  },
  "luminance": 0.82486
}

Semantic roles & 50–950 ramp

primary
#ECF09A
secondary
#6661CD
accent
#0FD618
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF09A

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

Preview Lab → · Contrast checker → · Palette generator →

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