#ECFB9E#ECFB9E

#ECFB9E is a very light, moderate yellow. Relative luminance 0.893; OKLCH L 95.6% C 0.117 H 116.1°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#ECFB9E
RGBrgb(236, 251, 158)
HSLhsl(70, 92%, 80%)
HSVhsv(70, 37%, 98%)
CMYKcmyk(6%, 0%, 37.1%, 1.6%)
CIE-LABlab(95.70, -18.91, 42.95)
CIE-LCHlch(95.70, 46.92, 113.77°)
OKLaboklab(95.63% -0.0517 0.1054)
OKLCHoklch(95.63% 0.117 116.1)
XYZxyz(75.2611, 89.2965, 45.6123)
Luminance0.8930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB9E #AD9EFB
analogous
#FBDB9E #ECFB9E #BEFB9E
triadic
#ECFB9E #9EECFB #FB9EEC
tetradic
#ECFB9E #9EFBDB #AD9EFB #FB9EBE
square
#ECFB9E #9EFBDB #AD9EFB #FB9EBE
split-complementary
#ECFB9E #9EBEFB #DB9EFB
monochromatic
#D5F628 #E0F963 #ECFB9E #F8FDD9 #F9FEE2

Accessibility & contrast

On white

1.11
#ECFB9E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#ECFB9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB9E
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB9E#FFFFFF#000000##000000
##ECFB9E1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF297
Deuteranopia (green-blind)
#FFF3A2
Tritanopia (blue-blind)
#F6F1E4
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfb9e;
/* rgb */ color: rgb(236, 251, 158);
/* oklch */ color: oklch(95.6% 0.117 116.1);
Tailwind
colors: {
  custom: {
    50: '#f3fcbc',
    500: '#ecfb9e',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb9e;
$custom-light: #f3fcbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb9e",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 158
  },
  "hsl": {
    "h": 69.677,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.95632,
    "c": 0.11738,
    "h": 116.1
  },
  "luminance": 0.89296
}

Semantic roles & 50–950 ramp

primary
#ECFB9E
secondary
#7560DD
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECFB9E

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

Preview Lab → · Contrast checker → · Palette generator →

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