#ECF17A#ECF17A

#ECF17A is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.0% C 0.143 H 111.0°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#ECF17A
RGBrgb(236, 241, 122)
HSLhsl(63, 81%, 71%)
HSVhsv(63, 49%, 95%)
CMYKcmyk(2.1%, 0%, 49.4%, 5.5%)
CIE-LABlab(92.64, -17.69, 56.31)
CIE-LCHlch(92.64, 59.02, 107.44°)
OKLaboklab(93.04% -0.0511 0.133)
OKLCHoklch(93.04% 0.143 111)
XYZxyz(69.5616, 82.1500, 30.6007)
Luminance0.8215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF17A #7F7AF1
analogous
#F1BA7A #ECF17A #B0F17A
triadic
#ECF17A #7AECF1 #F17AEC
tetradic
#ECF17A #7AF1BA #7F7AF1 #F17AB0
square
#ECF17A #7AF1BA #7F7AF1 #F17AB0
split-complementary
#ECF17A #7AB0F1 #BA7AF1
monochromatic
#D1DA17 #E4EB43 #ECF17A #F4F7B1 #FBFCE3

Accessibility & contrast

On white

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

On black

17.43
#ECF17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF17A
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF17A#FFFFFF#000000##000000
##ECF17A1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf17a;
/* rgb */ color: rgb(236, 241, 122);
/* oklch */ color: oklch(93.0% 0.143 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5a3',
    500: '#ecf17a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf17a;
$custom-light: #f4f5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf17a",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 62.521,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93041,
    "c": 0.14253,
    "h": 111
  },
  "luminance": 0.82149
}

Semantic roles & 50–950 ramp

primary
#ECF17A
secondary
#4A44CB
accent
#08DD11
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF17A

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

Preview Lab → · Contrast checker → · Palette generator →

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