#ECF59E#ECF59E

#ECF59E is a very light, moderate yellow. Relative luminance 0.856; OKLCH L 94.4% C 0.110 H 113.3°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#ECF59E
RGBrgb(236, 245, 158)
HSLhsl(66, 81%, 79%)
HSVhsv(66, 36%, 96%)
CMYKcmyk(3.7%, 0%, 35.5%, 3.9%)
CIE-LABlab(94.14, -16.00, 40.93)
CIE-LCHlch(94.14, 43.95, 111.35°)
OKLaboklab(94.39% -0.0434 0.1007)
OKLCHoklch(94.39% 0.11 113.3)
XYZxyz(73.4164, 85.6072, 44.9974)
Luminance0.8561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF59E #A79EF5
analogous
#F5D39E #ECF59E #C1F59E
triadic
#ECF59E #9EECF5 #F59EEC
tetradic
#ECF59E #9EF5D3 #A79EF5 #F59EC1
square
#ECF59E #9EF5D3 #A79EF5 #F59EC1
split-complementary
#ECF59E #9EC1F5 #D39EF5
monochromatic
#D6EA2F #E1EF67 #ECF59E #F7FBD5 #FAFCE3

Accessibility & contrast

On white

1.16
#ECF59E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#ECF59E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF59E
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF59E#FFFFFF#000000##000000
##ECF59E1.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED98
Deuteranopia (green-blind)
#FFEFA2
Tritanopia (blue-blind)
#F6EBDF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf59e;
/* rgb */ color: rgb(236, 245, 158);
/* oklch */ color: oklch(94.4% 0.110 113.3);
Tailwind
colors: {
  custom: {
    50: '#f3f8bb',
    500: '#ecf59e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf59e;
$custom-light: #f3f8bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf59e",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 158
  },
  "hsl": {
    "h": 66.207,
    "s": 81.308,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94389,
    "c": 0.1097,
    "h": 113.3
  },
  "luminance": 0.85606
}

Semantic roles & 50–950 ramp

primary
#ECF59E
secondary
#6F63D4
accent
#08DE1E
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECF59E

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

Preview Lab → · Contrast checker → · Palette generator →

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