#ECFA7C#ECFA7C

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

Color values

HEX#ECFA7C
RGBrgb(236, 250, 124)
HSLhsl(67, 93%, 73%)
HSVhsv(67, 50%, 98%)
CMYKcmyk(5.6%, 0%, 50.4%, 2%)
CIE-LABlab(95.02, -21.85, 58.20)
CIE-LCHlch(95.02, 62.17, 110.58°)
OKLaboklab(94.95% -0.0628 0.1373)
OKLCHoklch(94.95% 0.151 114.6)
XYZxyz(72.4170, 87.6604, 32.1701)
Luminance0.8766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA7C #8A7CFA
analogous
#FAC97C #ECFA7C #ADFA7C
triadic
#ECFA7C #7CECFA #FA7CEC
tetradic
#ECFA7C #7CFAC9 #8A7CFA #FA7CAD
square
#ECFA7C #7CFAC9 #8A7CFA #FA7CAD
split-complementary
#ECFA7C #7CADFA #C97CFA
monochromatic
#D8F209 #E3F841 #ECFA7C #F5FCB7 #FBFEE2

Accessibility & contrast

On white

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

On black

18.53
#ECFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA7C
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA7C#FFFFFF#000000##000000
##ECFA7C1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF070
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#F9EEDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfa7c;
/* rgb */ color: rgb(236, 250, 124);
/* oklch */ color: oklch(94.9% 0.151 114.6);
Tailwind
colors: {
  custom: {
    50: '#f4fba5',
    500: '#ecfa7c',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa7c;
$custom-light: #f4fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa7c",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 66.667,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94946,
    "c": 0.151,
    "h": 114.6
  },
  "luminance": 0.87659
}

Semantic roles & 50–950 ramp

primary
#ECFA7C
secondary
#5443D7
accent
#00E61A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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