#ECF16C#ECF16C

#ECF16C is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 92.9% C 0.155 H 111.0°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#ECF16C
RGBrgb(236, 241, 108)
HSLhsl(62, 83%, 68%)
HSVhsv(62, 55%, 95%)
CMYKcmyk(2.1%, 0%, 55.2%, 5.5%)
CIE-LABlab(92.50, -18.82, 62.42)
CIE-LCHlch(92.50, 65.20, 106.78°)
OKLaboklab(92.88% -0.0557 0.1449)
OKLCHoklch(92.88% 0.155 111)
XYZxyz(68.7558, 81.8277, 26.3569)
Luminance0.8183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF16C #716CF1
analogous
#F1B36C #ECF16C #A9F16C
triadic
#ECF16C #6CECF1 #F16CEC
tetradic
#ECF16C #6CF1B3 #716CF1 #F16CA9
square
#ECF16C #6CF1B3 #716CF1 #F16CA9
split-complementary
#ECF16C #6CA9F1 #B36CF1
monochromatic
#C8CF14 #E5EC34 #ECF16C #F3F6A4 #FAFCDC

Accessibility & contrast

On white

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

On black

17.37
#ECF16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF16C
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF16C#FFFFFF#000000##000000
##ECF16C1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75E
Deuteranopia (green-blind)
#FFEB74
Tritanopia (blue-blind)
#FAE4D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf16c;
/* rgb */ color: rgb(236, 241, 108);
/* oklch */ color: oklch(92.9% 0.155 111.0);
Tailwind
colors: {
  custom: {
    50: '#f5f59a',
    500: '#ecf16c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf16c;
$custom-light: #f5f59a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf16c",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 108
  },
  "hsl": {
    "h": 62.256,
    "s": 82.609,
    "l": 68.431
  },
  "oklch": {
    "l": 0.92882,
    "c": 0.15522,
    "h": 111
  },
  "luminance": 0.81826
}

Semantic roles & 50–950 ramp

primary
#ECF16C
secondary
#3D38CA
accent
#06DF0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF16C

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

Preview Lab → · Contrast checker → · Palette generator →

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