#ECF481#ECF481

#ECF481 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.8% C 0.139 H 112.3°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#ECF481
RGBrgb(236, 244, 129)
HSLhsl(64, 84%, 73%)
HSVhsv(64, 47%, 96%)
CMYKcmyk(3.3%, 0%, 47.1%, 4.3%)
CIE-LABlab(93.50, -18.52, 54.09)
CIE-LCHlch(93.50, 57.18, 108.90°)
OKLaboklab(93.75% -0.0528 0.1288)
OKLCHoklch(93.75% 0.139 112.3)
XYZxyz(70.9064, 84.1205, 33.2662)
Luminance0.8412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF481 #8981F4
analogous
#F4C281 #ECF481 #B2F481
triadic
#ECF481 #81ECF4 #F481EC
tetradic
#ECF481 #81F4C2 #8981F4 #F481B2
square
#ECF481 #81F4C2 #8981F4 #F481B2
split-complementary
#ECF481 #81B2F4 #C281F4
monochromatic
#D8E614 #E4EF49 #ECF481 #F4F9B9 #FBFDE3

Accessibility & contrast

On white

1.18
#ECF481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#ECF481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF481
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF481#FFFFFF#000000##000000
##ECF4811.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFEE87
Tritanopia (blue-blind)
#F9E8D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf481;
/* rgb */ color: rgb(236, 244, 129);
/* oklch */ color: oklch(93.8% 0.139 112.3);
Tailwind
colors: {
  custom: {
    50: '#f4f7a8',
    500: '#ecf481',
    950: '#000000',
  },
}
SCSS
$custom: #ecf481;
$custom-light: #f4f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf481",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 129
  },
  "hsl": {
    "h": 64.174,
    "s": 83.942,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93754,
    "c": 0.13919,
    "h": 112.3
  },
  "luminance": 0.84119
}

Semantic roles & 50–950 ramp

primary
#ECF481
secondary
#5349D0
accent
#05E014
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF481

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

Preview Lab → · Contrast checker → · Palette generator →

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