#ECFA70#ECFA70

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

Color values

HEX#ECFA70
RGBrgb(236, 250, 112)
HSLhsl(66, 93%, 71%)
HSVhsv(66, 55%, 98%)
CMYKcmyk(5.6%, 0%, 55.2%, 2%)
CIE-LABlab(94.90, -22.84, 63.40)
CIE-LCHlch(94.90, 67.38, 109.81°)
OKLaboklab(94.81% -0.0667 0.1474)
OKLCHoklch(94.81% 0.162 114.3)
XYZxyz(71.7037, 87.3751, 28.4139)
Luminance0.8737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA70 #7E70FA
analogous
#FAC370 #ECFA70 #A7FA70
triadic
#ECFA70 #70ECFA #FA70EC
tetradic
#ECFA70 #70FAC3 #7E70FA #FA70A7
square
#ECFA70 #70FAC3 #7E70FA #FA70A7
split-complementary
#ECFA70 #70A7FA #C370FA
monochromatic
#D1E808 #E4F835 #ECFA70 #F4FCAB #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFA70#FFFFFF#000000##000000
##ECFA701.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)
#FFEF62
Deuteranopia (green-blind)
#FFF278
Tritanopia (blue-blind)
#F9EDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfa70;
/* rgb */ color: rgb(236, 250, 112);
/* oklch */ color: oklch(94.8% 0.162 114.3);
Tailwind
colors: {
  custom: {
    50: '#f5fb9d',
    500: '#ecfa70',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa70;
$custom-light: #f5fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa70",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 66.087,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9481,
    "c": 0.16178,
    "h": 114.3
  },
  "luminance": 0.87374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFA70

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

Preview Lab → · Contrast checker → · Palette generator →

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