#ECF276#ECF276

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

Color values

HEX#ECF276
RGBrgb(236, 242, 118)
HSLhsl(63, 83%, 71%)
HSVhsv(63, 51%, 95%)
CMYKcmyk(2.5%, 0%, 51.2%, 5.1%)
CIE-LABlab(92.86, -18.52, 58.39)
CIE-LCHlch(92.86, 61.25, 107.59°)
OKLaboklab(93.2% -0.0539 0.1372)
OKLCHoklch(93.2% 0.147 111.4)
XYZxyz(69.6157, 82.6466, 29.4212)
Luminance0.8265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF276 #7C76F2
analogous
#F2BA76 #ECF276 #AEF276
triadic
#ECF276 #76ECF2 #F276EC
tetradic
#ECF276 #76F2BA #7C76F2 #F276AE
square
#ECF276 #76F2BA #7C76F2 #F276AE
split-complementary
#ECF276 #76AEF2 #BA76F2
monochromatic
#D0D915 #E4ED3E #ECF276 #F4F7AE #FBFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF276#FFFFFF#000000##000000
##ECF2761.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)
#FFE96A
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#FAE6D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf276;
/* rgb */ color: rgb(236, 242, 118);
/* oklch */ color: oklch(93.2% 0.147 111.4);
Tailwind
colors: {
  custom: {
    50: '#f4f6a1',
    500: '#ecf276',
    950: '#000000',
  },
}
SCSS
$custom: #ecf276;
$custom-light: #f4f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf276",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 118
  },
  "hsl": {
    "h": 62.903,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93201,
    "c": 0.14741,
    "h": 111.4
  },
  "luminance": 0.82645
}

Semantic roles & 50–950 ramp

primary
#ECF276
secondary
#4740CC
accent
#06DF11
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF276

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

Preview Lab → · Contrast checker → · Palette generator →

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