#ECF79A#ECF79A

#ECF79A is a very light, moderate yellow. Relative luminance 0.867; OKLCH L 94.7% C 0.117 H 114.2°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#ECF79A
RGBrgb(236, 247, 154)
HSLhsl(67, 85%, 79%)
HSVhsv(67, 38%, 97%)
CMYKcmyk(4.5%, 0%, 37.7%, 3.1%)
CIE-LABlab(94.61, -17.43, 43.49)
CIE-LCHlch(94.61, 46.85, 111.83°)
OKLaboklab(94.74% -0.0477 0.1065)
OKLCHoklch(94.74% 0.117 114.2)
XYZxyz(73.6861, 86.6884, 43.4163)
Luminance0.8669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF79A #A59AF7
analogous
#F7D39A #ECF79A #BDF79A
triadic
#ECF79A #9AECF7 #F79AEC
tetradic
#ECF79A #9AF7D3 #A59AF7 #F79ABD
square
#ECF79A #9AF7D3 #A59AF7 #F79ABD
split-complementary
#ECF79A #9ABDF7 #D39AF7
monochromatic
#D7EE29 #E1F361 #ECF79A #F7FBD3 #FAFDE3

Accessibility & contrast

On white

1.15
#ECF79A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#ECF79A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF79A
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF79A#FFFFFF#000000##000000
##ECF79A1.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF93
Deuteranopia (green-blind)
#FFF19E
Tritanopia (blue-blind)
#F6EDE0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf79a;
/* rgb */ color: rgb(236, 247, 154);
/* oklch */ color: oklch(94.7% 0.117 114.2);
Tailwind
colors: {
  custom: {
    50: '#f3f9b9',
    500: '#ecf79a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf79a;
$custom-light: #f3f9b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf79a",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 154
  },
  "hsl": {
    "h": 67.097,
    "s": 85.321,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94738,
    "c": 0.11668,
    "h": 114.2
  },
  "luminance": 0.86687
}

Semantic roles & 50–950 ramp

primary
#ECF79A
secondary
#6D5FD7
accent
#04E21E
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF79A

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

Preview Lab → · Contrast checker → · Palette generator →

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