#ECF280#ECF280

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

Color values

HEX#ECF280
RGBrgb(236, 242, 128)
HSLhsl(63, 81%, 73%)
HSVhsv(63, 47%, 95%)
CMYKcmyk(2.5%, 0%, 47.1%, 5.1%)
CIE-LABlab(92.97, -17.64, 53.92)
CIE-LCHlch(92.97, 56.73, 108.12°)
OKLaboklab(93.33% -0.0504 0.1283)
OKLCHoklch(93.33% 0.138 111.5)
XYZxyz(70.2417, 82.8970, 32.7184)
Luminance0.8290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF280 #8680F2
analogous
#F2BF80 #ECF280 #B3F280
triadic
#ECF280 #80ECF2 #F280EC
tetradic
#ECF280 #80F2BF #8680F2 #F280B3
square
#ECF280 #80F2BF #8680F2 #F280B3
split-complementary
#ECF280 #80B3F2 #BF80F2
monochromatic
#D6E117 #E4EC48 #ECF280 #F4F8B8 #FBFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF280#FFFFFF#000000##000000
##ECF2801.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)
#FFE976
Deuteranopia (green-blind)
#FFEC86
Tritanopia (blue-blind)
#F9E6D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf280;
/* rgb */ color: rgb(236, 242, 128);
/* oklch */ color: oklch(93.3% 0.138 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f6a7',
    500: '#ecf280',
    950: '#000000',
  },
}
SCSS
$custom: #ecf280;
$custom-light: #f4f6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf280",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 63.158,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93325,
    "c": 0.13786,
    "h": 111.5
  },
  "luminance": 0.82896
}

Semantic roles & 50–950 ramp

primary
#ECF280
secondary
#5049CD
accent
#08DE13
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECF280

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

Preview Lab → · Contrast checker → · Palette generator →

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