#ECF17F#ECF17F

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

Color values

HEX#ECF17F
RGBrgb(236, 241, 127)
HSLhsl(63, 80%, 72%)
HSVhsv(63, 47%, 95%)
CMYKcmyk(2.1%, 0%, 47.3%, 5.5%)
CIE-LABlab(92.70, -17.25, 54.06)
CIE-LCHlch(92.70, 56.74, 107.70°)
OKLaboklab(93.1% -0.0494 0.1285)
OKLCHoklch(93.1% 0.138 111)
XYZxyz(69.8794, 82.2771, 32.2745)
Luminance0.8228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF17F #847FF1
analogous
#F1BD7F #ECF17F #B3F17F
triadic
#ECF17F #7FECF1 #F17FEC
tetradic
#ECF17F #7FF1BD #847FF1 #F17FB3
square
#ECF17F #7FF1BD #847FF1 #F17FB3
split-complementary
#ECF17F #7FB3F1 #BD7FF1
monochromatic
#D5DD18 #E4EB48 #ECF17F #F4F7B6 #FBFCE3

Accessibility & contrast

On white

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

On black

17.46
#ECF17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF17F
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF17F#FFFFFF#000000##000000
##ECF17F1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE875
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#F9E5D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf17f;
/* rgb */ color: rgb(236, 241, 127);
/* oklch */ color: oklch(93.1% 0.138 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5a6',
    500: '#ecf17f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf17f;
$custom-light: #f4f5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf17f",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 127
  },
  "hsl": {
    "h": 62.632,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93104,
    "c": 0.1377,
    "h": 111
  },
  "luminance": 0.82276
}

Semantic roles & 50–950 ramp

primary
#ECF17F
secondary
#4E48CC
accent
#09DD12
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECF17F

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

Preview Lab → · Contrast checker → · Palette generator →

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