#ECFB89#ECFB89

#ECFB89 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.3% C 0.140 H 115.3°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#ECFB89
RGBrgb(236, 251, 137)
HSLhsl(68, 93%, 76%)
HSVhsv(68, 45%, 98%)
CMYKcmyk(6%, 0%, 45.4%, 1.6%)
CIE-LABlab(95.43, -21.13, 52.69)
CIE-LCHlch(95.43, 56.77, 111.86°)
OKLaboklab(95.32% -0.0596 0.1262)
OKLCHoklch(95.32% 0.14 115.3)
XYZxyz(73.6055, 88.6342, 36.8927)
Luminance0.8863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB89 #9889FB
analogous
#FBD189 #ECFB89 #B3FB89
triadic
#ECFB89 #89ECFB #FB89EC
tetradic
#ECFB89 #89FBD1 #9889FB #FB89B3
square
#ECFB89 #89FBD1 #9889FB #FB89B3
split-complementary
#ECFB89 #89B3FB #D189FB
monochromatic
#D9F713 #E2F94E #ECFB89 #F6FDC4 #FAFEE1

Accessibility & contrast

On white

1.12
#ECFB89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#ECFB89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB89
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB89#FFFFFF#000000##000000
##ECFB891.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17F
Deuteranopia (green-blind)
#FFF38F
Tritanopia (blue-blind)
#F7F0E0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb89;
/* rgb */ color: rgb(236, 251, 137);
/* oklch */ color: oklch(95.3% 0.140 115.3);
Tailwind
colors: {
  custom: {
    50: '#f4fcad',
    500: '#ecfb89',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb89;
$custom-light: #f4fcad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb89",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 137
  },
  "hsl": {
    "h": 67.895,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95321,
    "c": 0.13958,
    "h": 115.3
  },
  "luminance": 0.88633
}

Semantic roles & 50–950 ramp

primary
#ECFB89
secondary
#614EDA
accent
#00E61E
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFB89

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

Preview Lab → · Contrast checker → · Palette generator →

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