#ECF17C#ECF17C

#ECF17C is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.1% C 0.141 H 111.0°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#ECF17C
RGBrgb(236, 241, 124)
HSLhsl(63, 81%, 72%)
HSVhsv(63, 49%, 95%)
CMYKcmyk(2.1%, 0%, 48.5%, 5.5%)
CIE-LABlab(92.66, -17.52, 55.41)
CIE-LCHlch(92.66, 58.11, 107.54°)
OKLaboklab(93.07% -0.0504 0.1313)
OKLCHoklch(93.07% 0.141 111)
XYZxyz(69.6868, 82.2001, 31.2601)
Luminance0.8220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF17C #817CF1
analogous
#F1BC7C #ECF17C #B2F17C
triadic
#ECF17C #7CECF1 #F17CEC
tetradic
#ECF17C #7CF1BC #817CF1 #F17CB2
square
#ECF17C #7CF1BC #817CF1 #F17CB2
split-complementary
#ECF17C #7CB2F1 #BC7CF1
monochromatic
#D3DB17 #E4EB45 #ECF17C #F4F7B3 #FBFCE3

Accessibility & contrast

On white

1.20
#ECF17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#ECF17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF17C
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF17C#FFFFFF#000000##000000
##ECF17C1.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE871
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#F9E5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf17c;
/* rgb */ color: rgb(236, 241, 124);
/* oklch */ color: oklch(93.1% 0.141 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5a4',
    500: '#ecf17c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf17c;
$custom-light: #f4f5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf17c",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 62.564,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93066,
    "c": 0.14062,
    "h": 111
  },
  "luminance": 0.82199
}

Semantic roles & 50–950 ramp

primary
#ECF17C
secondary
#4B46CB
accent
#08DD12
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF17C

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

Preview Lab → · Contrast checker → · Palette generator →

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