#ECF877#ECF877

#ECF877 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.5% C 0.153 H 113.7°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#ECF877
RGBrgb(236, 248, 119)
HSLhsl(66, 90%, 72%)
HSVhsv(66, 52%, 97%)
CMYKcmyk(4.8%, 0%, 52%, 2.7%)
CIE-LABlab(94.44, -21.32, 59.78)
CIE-LCHlch(94.44, 63.47, 109.63°)
OKLaboklab(94.47% -0.0617 0.1403)
OKLCHoklch(94.47% 0.153 113.7)
XYZxyz(71.4906, 86.3007, 30.3408)
Luminance0.8630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF877 #8377F8
analogous
#F8C377 #ECF877 #ACF877
triadic
#ECF877 #77ECF8 #F877EC
tetradic
#ECF877 #77F8C3 #8377F8 #F877AC
square
#ECF877 #77F8C3 #8377F8 #F877AC
split-complementary
#ECF877 #77ACF8 #C377F8
monochromatic
#D4E90C #E4F53D #ECF877 #F4FBB1 #FBFEE2

Accessibility & contrast

On white

1.15
#ECF877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#ECF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF877
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF877#FFFFFF#000000##000000
##ECF8771.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6B
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#F9ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf877;
/* rgb */ color: rgb(236, 248, 119);
/* oklch */ color: oklch(94.5% 0.153 113.7);
Tailwind
colors: {
  custom: {
    50: '#f4faa2',
    500: '#ecf877',
    950: '#000000',
  },
}
SCSS
$custom: #ecf877;
$custom-light: #f4faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf877",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 65.581,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94468,
    "c": 0.1533,
    "h": 113.7
  },
  "luminance": 0.863
}

Semantic roles & 50–950 ramp

primary
#ECF877
secondary
#4D3FD4
accent
#00E615
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF877

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

Preview Lab → · Contrast checker → · Palette generator →

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