#ECFA82#ECFA82

#ECFA82 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.0% C 0.145 H 114.7°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#ECFA82
RGBrgb(236, 250, 130)
HSLhsl(67, 92%, 75%)
HSVhsv(67, 48%, 98%)
CMYKcmyk(5.6%, 0%, 48%, 2%)
CIE-LABlab(95.08, -21.32, 55.53)
CIE-LCHlch(95.08, 59.48, 111.00°)
OKLaboklab(95.02% -0.0607 0.132)
OKLCHoklch(95.02% 0.145 114.7)
XYZxyz(72.8080, 87.8168, 34.2296)
Luminance0.8782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA82 #9082FA
analogous
#FACC82 #ECFA82 #B0FA82
triadic
#ECFA82 #82ECFA #FA82EC
tetradic
#ECFA82 #82FACC #9082FA #FA82B0
square
#ECFA82 #82FACC #9082FA #FA82B0
split-complementary
#ECFA82 #82B0FA #CC82FA
monochromatic
#DAF50C #E3F847 #ECFA82 #F5FCBD #FBFEE2

Accessibility & contrast

On white

1.13
#ECFA82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#ECFA82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA82
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA82#FFFFFF#000000##000000
##ECFA821.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF077
Deuteranopia (green-blind)
#FFF288
Tritanopia (blue-blind)
#F8EEDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfa82;
/* rgb */ color: rgb(236, 250, 130);
/* oklch */ color: oklch(95.0% 0.145 114.7);
Tailwind
colors: {
  custom: {
    50: '#f4fba9',
    500: '#ecfa82',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa82;
$custom-light: #f4fba9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa82",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 130
  },
  "hsl": {
    "h": 67,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9502,
    "c": 0.14528,
    "h": 114.7
  },
  "luminance": 0.87816
}

Semantic roles & 50–950 ramp

primary
#ECFA82
secondary
#5948D8
accent
#00E61B
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFA82

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

Preview Lab → · Contrast checker → · Palette generator →

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