#ECFA7F#ECFA7F

#ECFA7F is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.0% C 0.148 H 114.6°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#ECFA7F
RGBrgb(236, 250, 127)
HSLhsl(67, 92%, 74%)
HSVhsv(67, 49%, 98%)
CMYKcmyk(5.6%, 0%, 49.2%, 2%)
CIE-LABlab(95.05, -21.59, 56.87)
CIE-LCHlch(95.05, 60.83, 110.79°)
OKLaboklab(94.98% -0.0617 0.1347)
OKLCHoklch(94.98% 0.148 114.6)
XYZxyz(72.6096, 87.7374, 33.1845)
Luminance0.8774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA7F #8D7FFA
analogous
#FACB7F #ECFA7F #AFFA7F
triadic
#ECFA7F #7FECFA #FA7FEC
tetradic
#ECFA7F #7FFACB #8D7FFA #FA7FAF
square
#ECFA7F #7FFACB #8D7FFA #FA7FAF
split-complementary
#ECFA7F #7FAFFA #CB7FFA
monochromatic
#DAF50A #E3F844 #ECFA7F #F5FCBA #FBFEE2

Accessibility & contrast

On white

1.13
#ECFA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#ECFA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA7F
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA7F#FFFFFF#000000##000000
##ECFA7F1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF074
Deuteranopia (green-blind)
#FFF286
Tritanopia (blue-blind)
#F8EEDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfa7f;
/* rgb */ color: rgb(236, 250, 127);
/* oklch */ color: oklch(95.0% 0.148 114.6);
Tailwind
colors: {
  custom: {
    50: '#f4fba7',
    500: '#ecfa7f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa7f;
$custom-light: #f4fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa7f",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 127
  },
  "hsl": {
    "h": 66.829,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94982,
    "c": 0.14818,
    "h": 114.6
  },
  "luminance": 0.87736
}

Semantic roles & 50–950 ramp

primary
#ECFA7F
secondary
#5646D7
accent
#00E61A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECFA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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