#ECF09D#ECF09D

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

Color values

HEX#ECF09D
RGBrgb(236, 240, 157)
HSLhsl(63, 73%, 78%)
HSVhsv(63, 35%, 94%)
CMYKcmyk(1.7%, 0%, 34.6%, 5.9%)
CIE-LABlab(92.83, -13.66, 39.73)
CIE-LCHlch(92.83, 42.01, 108.97°)
OKLaboklab(93.34% -0.0368 0.0979)
OKLCHoklch(93.34% 0.105 110.6)
XYZxyz(71.8385, 82.5885, 44.0485)
Luminance0.8259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF09D #A19DF0
analogous
#F0CB9D #ECF09D #C2F09D
triadic
#ECF09D #9DECF0 #F09DEC
tetradic
#ECF09D #9DF0CB #A19DF0 #F09DC2
square
#ECF09D #9DF0CB #A19DF0 #F09DC2
split-complementary
#ECF09D #9DC2F0 #CB9DF0
monochromatic
#D7E033 #E2E868 #ECF09D #F6F8D2 #FAFBE4

Accessibility & contrast

On white

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

On black

17.52
#ECF09D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF09D
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF09D#FFFFFF#000000##000000
##ECF09D1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE997
Deuteranopia (green-blind)
#FDECA1
Tritanopia (blue-blind)
#F7E6DB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf09d;
/* rgb */ color: rgb(236, 240, 157);
/* oklch */ color: oklch(93.3% 0.105 110.6);
Tailwind
colors: {
  custom: {
    50: '#f3f4bb',
    500: '#ecf09d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf09d;
$custom-light: #f3f4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf09d",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 157
  },
  "hsl": {
    "h": 62.892,
    "s": 73.451,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93342,
    "c": 0.10461,
    "h": 110.6
  },
  "luminance": 0.82587
}

Semantic roles & 50–950 ramp

primary
#ECF09D
secondary
#6964CD
accent
#10D619
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECF09D

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

Preview Lab → · Contrast checker → · Palette generator →

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