#ECF89F#ECF89F

#ECF89F is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.0% C 0.112 H 114.8°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#ECF89F
RGBrgb(236, 248, 159)
HSLhsl(68, 86%, 80%)
HSVhsv(68, 36%, 97%)
CMYKcmyk(4.8%, 0%, 35.9%, 2.7%)
CIE-LABlab(94.94, -17.34, 41.47)
CIE-LCHlch(94.94, 44.95, 112.70°)
OKLaboklab(95.03% -0.0472 0.102)
OKLCHoklch(95.03% 0.112 114.8)
XYZxyz(74.4178, 87.4716, 45.7575)
Luminance0.8747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF89F #AB9FF8
analogous
#F8D89F #ECF89F #C0F89F
triadic
#ECF89F #9FECF8 #F89FEC
tetradic
#ECF89F #9FF8D8 #AB9FF8 #F89FC0
square
#ECF89F #9FF8D8 #AB9FF8 #F89FC0
split-complementary
#ECF89F #9FC0F8 #D89FF8
monochromatic
#D5F02D #E1F466 #ECF89F #F7FCD8 #F9FDE2

Accessibility & contrast

On white

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

On black

18.49
#ECF89F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF89F
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF89F#FFFFFF#000000##000000
##ECF89F1.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF099
Deuteranopia (green-blind)
#FFF1A3
Tritanopia (blue-blind)
#F6EFE2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf89f;
/* rgb */ color: rgb(236, 248, 159);
/* oklch */ color: oklch(95.0% 0.112 114.8);
Tailwind
colors: {
  custom: {
    50: '#f3fabc',
    500: '#ecf89f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf89f;
$custom-light: #f3fabc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf89f",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 159
  },
  "hsl": {
    "h": 68.09,
    "s": 86.408,
    "l": 79.804
  },
  "oklch": {
    "l": 0.95026,
    "c": 0.1124,
    "h": 114.8
  },
  "luminance": 0.87471
}

Semantic roles & 50–950 ramp

primary
#ECF89F
secondary
#7363D9
accent
#03E321
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECF89F

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

Preview Lab → · Contrast checker → · Palette generator →

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