#ECF288#ECF288

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

Color values

HEX#ECF288
RGBrgb(236, 242, 136)
HSLhsl(63, 80%, 74%)
HSVhsv(63, 44%, 95%)
CMYKcmyk(2.5%, 0%, 43.8%, 5.1%)
CIE-LABlab(93.07, -16.88, 50.26)
CIE-LCHlch(93.07, 53.02, 108.57°)
OKLaboklab(93.43% -0.0476 0.1208)
OKLCHoklch(93.43% 0.13 111.5)
XYZxyz(70.7892, 83.1160, 35.6017)
Luminance0.8312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF288 #8E88F2
analogous
#F2C388 #ECF288 #B7F288
triadic
#ECF288 #88ECF2 #F288EC
tetradic
#ECF288 #88F2C3 #8E88F2 #F288B7
square
#ECF288 #88F2C3 #8E88F2 #F288B7
split-complementary
#ECF288 #88B7F2 #C388F2
monochromatic
#DAE61A #E3EC51 #ECF288 #F5F8BF #FBFCE3

Accessibility & contrast

On white

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

On black

17.62
#ECF288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF288
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF288#FFFFFF#000000##000000
##ECF2881.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf288;
/* rgb */ color: rgb(236, 242, 136);
/* oklch */ color: oklch(93.4% 0.130 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f6ac',
    500: '#ecf288',
    950: '#000000',
  },
}
SCSS
$custom: #ecf288;
$custom-light: #f4f6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf288",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 63.396,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.93432,
    "c": 0.1298,
    "h": 111.5
  },
  "luminance": 0.83115
}

Semantic roles & 50–950 ramp

primary
#ECF288
secondary
#5750CE
accent
#09DD15
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF288

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

Preview Lab → · Contrast checker → · Palette generator →

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