#ECF286#ECF286

#ECF286 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.4% C 0.132 H 111.5°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#ECF286
RGBrgb(236, 242, 134)
HSLhsl(63, 81%, 74%)
HSVhsv(63, 45%, 95%)
CMYKcmyk(2.5%, 0%, 44.6%, 5.1%)
CIE-LABlab(93.04, -17.08, 51.18)
CIE-LCHlch(93.04, 53.95, 108.45°)
OKLaboklab(93.41% -0.0483 0.1227)
OKLCHoklch(93.41% 0.132 111.5)
XYZxyz(70.6484, 83.0596, 34.8601)
Luminance0.8306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF286 #8C86F2
analogous
#F2C286 #ECF286 #B6F286
triadic
#ECF286 #86ECF2 #F286EC
tetradic
#ECF286 #86F2C2 #8C86F2 #F286B6
square
#ECF286 #86F2C2 #8C86F2 #F286B6
split-complementary
#ECF286 #86B6F2 #C286F2
monochromatic
#DAE519 #E3EC4F #ECF286 #F5F8BD #FBFCE3

Accessibility & contrast

On white

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

On black

17.61
#ECF286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF286
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF286#FFFFFF#000000##000000
##ECF2861.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97D
Deuteranopia (green-blind)
#FFED8B
Tritanopia (blue-blind)
#F8E7D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf286;
/* rgb */ color: rgb(236, 242, 134);
/* oklch */ color: oklch(93.4% 0.132 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f6ab',
    500: '#ecf286',
    950: '#000000',
  },
}
SCSS
$custom: #ecf286;
$custom-light: #f4f6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf286",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 63.333,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93405,
    "c": 0.13185,
    "h": 111.5
  },
  "luminance": 0.83058
}

Semantic roles & 50–950 ramp

primary
#ECF286
secondary
#554ECE
accent
#09DD14
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF286

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

Preview Lab → · Contrast checker → · Palette generator →

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