#ECF59A#ECF59A

#ECF59A is a very light, moderate yellow. Relative luminance 0.855; OKLCH L 94.3% C 0.114 H 113.2°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#ECF59A
RGBrgb(236, 245, 154)
HSLhsl(66, 82%, 78%)
HSVhsv(66, 37%, 96%)
CMYKcmyk(3.7%, 0%, 37.1%, 3.9%)
CIE-LABlab(94.09, -16.45, 42.83)
CIE-LCHlch(94.09, 45.88, 111.02°)
OKLaboklab(94.32% -0.045 0.1049)
OKLCHoklch(94.32% 0.114 113.2)
XYZxyz(73.0777, 85.4717, 43.2136)
Luminance0.8547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF59A #A39AF5
analogous
#F5D09A #ECF59A #BEF59A
triadic
#ECF59A #9AECF5 #F59AEC
tetradic
#ECF59A #9AF5D0 #A39AF5 #F59ABE
square
#ECF59A #9AF5D0 #A39AF5 #F59ABE
split-complementary
#ECF59A #9ABEF5 #D09AF5
monochromatic
#D7EA2B #E2EF62 #ECF59A #F6FBD2 #FAFCE3

Accessibility & contrast

On white

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

On black

18.09
#ECF59A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF59A
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF59A#FFFFFF#000000##000000
##ECF59A1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED93
Deuteranopia (green-blind)
#FFEF9E
Tritanopia (blue-blind)
#F6EBDE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf59a;
/* rgb */ color: rgb(236, 245, 154);
/* oklch */ color: oklch(94.3% 0.114 113.2);
Tailwind
colors: {
  custom: {
    50: '#f3f8b9',
    500: '#ecf59a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf59a;
$custom-light: #f3f8b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf59a",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 154
  },
  "hsl": {
    "h": 65.934,
    "s": 81.982,
    "l": 78.235
  },
  "oklch": {
    "l": 0.94324,
    "c": 0.11416,
    "h": 113.2
  },
  "luminance": 0.85471
}

Semantic roles & 50–950 ramp

primary
#ECF59A
secondary
#6B5FD4
accent
#07DE1C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF59A

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

Preview Lab → · Contrast checker → · Palette generator →

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