#ECFA6F#ECFA6F

#ECFA6F is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.8% C 0.163 H 114.3°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#ECFA6F
RGBrgb(236, 250, 111)
HSLhsl(66, 93%, 71%)
HSVhsv(66, 56%, 98%)
CMYKcmyk(5.6%, 0%, 55.6%, 2%)
CIE-LABlab(94.89, -22.91, 63.82)
CIE-LCHlch(94.89, 67.81, 109.75°)
OKLaboklab(94.8% -0.067 0.1482)
OKLCHoklch(94.8% 0.163 114.3)
XYZxyz(71.6484, 87.3529, 28.1223)
Luminance0.8735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA6F #7D6FFA
analogous
#FAC26F #ECFA6F #A6FA6F
triadic
#ECFA6F #6FECFA #FA6FEC
tetradic
#ECFA6F #6FFAC2 #7D6FFA #FA6FA6
square
#ECFA6F #6FFAC2 #7D6FFA #FA6FA6
split-complementary
#ECFA6F #6FA6FA #C26FFA
monochromatic
#D0E708 #E4F834 #ECFA6F #F4FCAA #FBFEE1

Accessibility & contrast

On white

1.14
#ECFA6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#ECFA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA6F
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA6F#FFFFFF#000000##000000
##ECFA6F1.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF60
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#F9EDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfa6f;
/* rgb */ color: rgb(236, 250, 111);
/* oklch */ color: oklch(94.8% 0.163 114.3);
Tailwind
colors: {
  custom: {
    50: '#f5fb9d',
    500: '#ecfa6f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa6f;
$custom-light: #f5fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa6f",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 66.043,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.948,
    "c": 0.16264,
    "h": 114.3
  },
  "luminance": 0.87352
}

Semantic roles & 50–950 ramp

primary
#ECFA6F
secondary
#4838D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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