#ECF170#ECF170

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

Color values

HEX#ECF170
RGBrgb(236, 241, 112)
HSLhsl(62, 82%, 69%)
HSVhsv(62, 54%, 95%)
CMYKcmyk(2.1%, 0%, 53.5%, 5.5%)
CIE-LABlab(92.54, -18.52, 60.71)
CIE-LCHlch(92.54, 63.47, 106.96°)
OKLaboklab(92.93% -0.0545 0.1416)
OKLCHoklch(92.93% 0.152 111)
XYZxyz(68.9736, 81.9148, 27.5038)
Luminance0.8191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF170 #7570F1
analogous
#F1B670 #ECF170 #ABF170
triadic
#ECF170 #70ECF1 #F170EC
tetradic
#ECF170 #70F1B6 #7570F1 #F170AB
square
#ECF170 #70F1B6 #7570F1 #F170AB
split-complementary
#ECF170 #70ABF1 #B670F1
monochromatic
#CBD215 #E5EC38 #ECF170 #F3F6A8 #FBFCDF

Accessibility & contrast

On white

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

On black

17.38
#ECF170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF170
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF170#FFFFFF#000000##000000
##ECF1701.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#FAE4D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf170;
/* rgb */ color: rgb(236, 241, 112);
/* oklch */ color: oklch(92.9% 0.152 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f59d',
    500: '#ecf170',
    950: '#000000',
  },
}
SCSS
$custom: #ecf170;
$custom-light: #f4f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf170",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 62.326,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92925,
    "c": 0.15173,
    "h": 111
  },
  "luminance": 0.81913
}

Semantic roles & 50–950 ramp

primary
#ECF170
secondary
#413BCA
accent
#07DF0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF170

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

Preview Lab → · Contrast checker → · Palette generator →

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