#ECF277#ECF277

#ECF277 is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.2% C 0.146 H 111.4°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#ECF277
RGBrgb(236, 242, 119)
HSLhsl(63, 83%, 71%)
HSVhsv(63, 51%, 95%)
CMYKcmyk(2.5%, 0%, 50.8%, 5.1%)
CIE-LABlab(92.87, -18.43, 57.95)
CIE-LCHlch(92.87, 60.81, 107.65°)
OKLaboklab(93.21% -0.0535 0.1363)
OKLCHoklch(93.21% 0.146 111.4)
XYZxyz(69.6754, 82.6704, 29.7358)
Luminance0.8267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF277 #7D77F2
analogous
#F2BA77 #ECF277 #AEF277
triadic
#ECF277 #77ECF2 #F277EC
tetradic
#ECF277 #77F2BA #7D77F2 #F277AE
square
#ECF277 #77F2BA #7D77F2 #F277AE
split-complementary
#ECF277 #77AEF2 #BA77F2
monochromatic
#D0DA15 #E4ED3F #ECF277 #F4F7AF #FBFCE3

Accessibility & contrast

On white

1.20
#ECF277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#ECF277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF277
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF277#FFFFFF#000000##000000
##ECF2771.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96B
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#FAE6D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf277;
/* rgb */ color: rgb(236, 242, 119);
/* oklch */ color: oklch(93.2% 0.146 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f6a1',
    500: '#ecf277',
    950: '#000000',
  },
}
SCSS
$custom: #ecf277;
$custom-light: #f4f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf277",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 119
  },
  "hsl": {
    "h": 62.927,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93213,
    "c": 0.14647,
    "h": 111.4
  },
  "luminance": 0.82669
}

Semantic roles & 50–950 ramp

primary
#ECF277
secondary
#4841CC
accent
#07DF11
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF277

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

Preview Lab → · Contrast checker → · Palette generator →

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