#ECF89B#ECF89B

#ECF89B is a very light, moderate yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.117 H 114.7°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#ECF89B
RGBrgb(236, 248, 155)
HSLhsl(68, 87%, 79%)
HSVhsv(68, 38%, 97%)
CMYKcmyk(4.8%, 0%, 37.5%, 2.7%)
CIE-LABlab(94.88, -17.80, 43.36)
CIE-LCHlch(94.88, 46.87, 112.32°)
OKLaboklab(94.96% -0.0487 0.1062)
OKLCHoklch(94.96% 0.117 114.7)
XYZxyz(74.0763, 87.3350, 43.9590)
Luminance0.8733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF89B #A79BF8
analogous
#F8D69B #ECF89B #BEF89B
triadic
#ECF89B #9BECF8 #F89BEC
tetradic
#ECF89B #9BF8D6 #A79BF8 #F89BBE
square
#ECF89B #9BF8D6 #A79BF8 #F89BBE
split-complementary
#ECF89B #9BBEF8 #D69BF8
monochromatic
#D6F029 #E1F462 #ECF89B #F7FCD4 #FAFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF89B#FFFFFF#000000##000000
##ECF89B1.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)
#FFEF94
Deuteranopia (green-blind)
#FFF19F
Tritanopia (blue-blind)
#F6EEE1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf89b;
/* rgb */ color: rgb(236, 248, 155);
/* oklch */ color: oklch(95.0% 0.117 114.7);
Tailwind
colors: {
  custom: {
    50: '#f3fab9',
    500: '#ecf89b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf89b;
$custom-light: #f3fab9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf89b",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 155
  },
  "hsl": {
    "h": 67.742,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94961,
    "c": 0.11685,
    "h": 114.7
  },
  "luminance": 0.87334
}

Semantic roles & 50–950 ramp

primary
#ECF89B
secondary
#6F5FD8
accent
#02E31F
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF89B

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

Preview Lab → · Contrast checker → · Palette generator →

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