#ECF15A#ECF15A

#ECF15A is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.7% C 0.170 H 111.1°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#ECF15A
RGBrgb(236, 241, 90)
HSLhsl(62, 84%, 65%)
HSVhsv(62, 63%, 95%)
CMYKcmyk(2.1%, 0%, 62.7%, 5.5%)
CIE-LABlab(92.35, -20.05, 69.76)
CIE-LCHlch(92.35, 72.59, 106.03°)
OKLaboklab(92.71% -0.061 0.1582)
OKLCHoklch(92.71% 0.17 111.1)
XYZxyz(67.8948, 81.4833, 21.8222)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF15A #5F5AF1
analogous
#F1AB5A #ECF15A #A0F15A
triadic
#ECF15A #5AECF1 #F15AEC
tetradic
#ECF15A #5AF1AB #5F5AF1 #F15AA0
square
#ECF15A #5AF1AB #5F5AF1 #F15AA0
split-complementary
#ECF15A #5AA0F1 #AB5AF1
monochromatic
#BAC010 #E6EC22 #ECF15A #F2F692 #F9FBCB

Accessibility & contrast

On white

1.21
#ECF15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#ECF15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF15A
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF15A#FFFFFF#000000##000000
##ECF15A1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE746
Deuteranopia (green-blind)
#FFEB64
Tritanopia (blue-blind)
#FBE3D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf15a;
/* rgb */ color: rgb(236, 241, 90);
/* oklch */ color: oklch(92.7% 0.170 111.1);
Tailwind
colors: {
  custom: {
    50: '#f5f58f',
    500: '#ecf15a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf15a;
$custom-light: #f5f58f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf15a",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 90
  },
  "hsl": {
    "h": 61.987,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92711,
    "c": 0.16955,
    "h": 111.1
  },
  "luminance": 0.81482
}

Semantic roles & 50–950 ramp

primary
#ECF15A
secondary
#3631BE
accent
#05E10C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF15A

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

Preview Lab → · Contrast checker → · Palette generator →

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