#ECF281#ECF281

#ECF281 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.3% C 0.137 H 111.5°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#ECF281
RGBrgb(236, 242, 129)
HSLhsl(63, 81%, 73%)
HSVhsv(63, 47%, 95%)
CMYKcmyk(2.5%, 0%, 46.7%, 5.1%)
CIE-LABlab(92.98, -17.55, 53.46)
CIE-LCHlch(92.98, 56.27, 108.17°)
OKLaboklab(93.34% -0.0501 0.1274)
OKLCHoklch(93.34% 0.137 111.5)
XYZxyz(70.3079, 82.9234, 33.0667)
Luminance0.8292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF281 #8781F2
analogous
#F2C081 #ECF281 #B3F281
triadic
#ECF281 #81ECF2 #F281EC
tetradic
#ECF281 #81F2C0 #8781F2 #F281B3
square
#ECF281 #81F2C0 #8781F2 #F281B3
split-complementary
#ECF281 #81B3F2 #C081F2
monochromatic
#D7E117 #E4EC4A #ECF281 #F4F8B8 #FBFCE3

Accessibility & contrast

On white

1.19
#ECF281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#ECF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF281
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF281#FFFFFF#000000##000000
##ECF2811.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FFEC87
Tritanopia (blue-blind)
#F9E6D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf281;
/* rgb */ color: rgb(236, 242, 129);
/* oklch */ color: oklch(93.3% 0.137 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f6a8',
    500: '#ecf281',
    950: '#000000',
  },
}
SCSS
$custom: #ecf281;
$custom-light: #f4f6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf281",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 63.186,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93338,
    "c": 0.13687,
    "h": 111.5
  },
  "luminance": 0.82922
}

Semantic roles & 50–950 ramp

primary
#ECF281
secondary
#514ACD
accent
#08DE13
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF281

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

Preview Lab → · Contrast checker → · Palette generator →

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