#ECF381#ECF381

#ECF381 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.5% C 0.138 H 111.9°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#ECF381
RGBrgb(236, 243, 129)
HSLhsl(64, 83%, 73%)
HSVhsv(64, 47%, 95%)
CMYKcmyk(2.9%, 0%, 46.9%, 4.7%)
CIE-LABlab(93.24, -18.04, 53.78)
CIE-LCHlch(93.24, 56.72, 108.54°)
OKLaboklab(93.55% -0.0515 0.1281)
OKLCHoklch(93.55% 0.138 111.9)
XYZxyz(70.6063, 83.5203, 33.1662)
Luminance0.8352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF381 #8881F3
analogous
#F3C181 #ECF381 #B3F381
triadic
#ECF381 #81ECF3 #F381EC
tetradic
#ECF381 #81F3C1 #8881F3 #F381B3
square
#ECF381 #81F3C1 #8881F3 #F381B3
split-complementary
#ECF381 #81B3F3 #C181F3
monochromatic
#D7E416 #E4EE49 #ECF381 #F4F8B9 #FBFCE3

Accessibility & contrast

On white

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

On black

17.70
#ECF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF381
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF381#FFFFFF#000000##000000
##ECF3811.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FFED87
Tritanopia (blue-blind)
#F9E7D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf381;
/* rgb */ color: rgb(236, 243, 129);
/* oklch */ color: oklch(93.5% 0.138 111.9);
Tailwind
colors: {
  custom: {
    50: '#f4f7a8',
    500: '#ecf381',
    950: '#000000',
  },
}
SCSS
$custom: #ecf381;
$custom-light: #f4f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf381",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 63.684,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93546,
    "c": 0.13803,
    "h": 111.9
  },
  "luminance": 0.83519
}

Semantic roles & 50–950 ramp

primary
#ECF381
secondary
#524ACF
accent
#06DF14
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF381

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

Preview Lab → · Contrast checker → · Palette generator →

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