#ECF077#ECF077

#ECF077 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.8% C 0.144 H 110.6°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#ECF077
RGBrgb(236, 240, 119)
HSLhsl(62, 80%, 70%)
HSVhsv(62, 50%, 94%)
CMYKcmyk(1.7%, 0%, 50.4%, 5.9%)
CIE-LABlab(92.35, -17.46, 57.34)
CIE-LCHlch(92.35, 59.94, 106.94°)
OKLaboklab(92.8% -0.0508 0.135)
OKLCHoklch(92.8% 0.144 110.6)
XYZxyz(69.0834, 81.4864, 29.5385)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF077 #7B77F0
analogous
#F0B777 #ECF077 #B0F077
triadic
#ECF077 #77ECF0 #F077EC
tetradic
#ECF077 #77F0B7 #7B77F0 #F077B0
square
#ECF077 #77F0B7 #7B77F0 #F077B0
split-complementary
#ECF077 #77B0F0 #B777F0
monochromatic
#CFD518 #E4EA40 #ECF077 #F4F6AE #FBFCE3

Accessibility & contrast

On white

1.21
#ECF077 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#ECF077 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF077
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF077#FFFFFF#000000##000000
##ECF0771.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76C
Deuteranopia (green-blind)
#FFEB7D
Tritanopia (blue-blind)
#FAE4D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf077;
/* rgb */ color: rgb(236, 240, 119);
/* oklch */ color: oklch(92.8% 0.144 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f4a1',
    500: '#ecf077',
    950: '#000000',
  },
}
SCSS
$custom: #ecf077;
$custom-light: #f4f4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf077",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 119
  },
  "hsl": {
    "h": 61.983,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92797,
    "c": 0.14424,
    "h": 110.6
  },
  "luminance": 0.81485
}

Semantic roles & 50–950 ramp

primary
#ECF077
secondary
#4642CA
accent
#09DC10
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF077

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

Preview Lab → · Contrast checker → · Palette generator →

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