#ECF09F#ECF09F

#ECF09F is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.102 H 110.6°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#ECF09F
RGBrgb(236, 240, 159)
HSLhsl(63, 73%, 78%)
HSVhsv(63, 34%, 94%)
CMYKcmyk(1.7%, 0%, 33.8%, 5.9%)
CIE-LABlab(92.86, -13.43, 38.77)
CIE-LCHlch(92.86, 41.03, 109.10°)
OKLaboklab(93.38% -0.036 0.0958)
OKLCHoklch(93.38% 0.102 110.6)
XYZxyz(72.0106, 82.6573, 44.9552)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF09F #A39FF0
analogous
#F0CB9F #ECF09F #C3F09F
triadic
#ECF09F #9FECF0 #F09FEC
tetradic
#ECF09F #9FF0CB #A39FF0 #F09FC3
square
#ECF09F #9FF0CB #A39FF0 #F09FC3
split-complementary
#ECF09F #9FC3F0 #CB9FF0
monochromatic
#D7DF35 #E2E86A #ECF09F #F6F8D4 #FAFBE5

Accessibility & contrast

On white

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

On black

17.53
#ECF09F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF09F
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF09F#FFFFFF#000000##000000
##ECF09F1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE999
Deuteranopia (green-blind)
#FDECA2
Tritanopia (blue-blind)
#F6E7DB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf09f;
/* rgb */ color: rgb(236, 240, 159);
/* oklch */ color: oklch(93.4% 0.102 110.6);
Tailwind
colors: {
  custom: {
    50: '#f3f4bc',
    500: '#ecf09f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf09f;
$custom-light: #f3f4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf09f",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 159
  },
  "hsl": {
    "h": 62.963,
    "s": 72.973,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93376,
    "c": 0.10233,
    "h": 110.6
  },
  "luminance": 0.82656
}

Semantic roles & 50–950 ramp

primary
#ECF09F
secondary
#6B66CD
accent
#10D51A
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECF09F

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

Preview Lab → · Contrast checker → · Palette generator →

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