#ECF17D#ECF17D

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

Color values

HEX#ECF17D
RGBrgb(236, 241, 125)
HSLhsl(63, 81%, 72%)
HSVhsv(63, 48%, 95%)
CMYKcmyk(2.1%, 0%, 48.1%, 5.5%)
CIE-LABlab(92.67, -17.43, 54.96)
CIE-LCHlch(92.67, 57.66, 107.59°)
OKLaboklab(93.08% -0.0501 0.1304)
OKLCHoklch(93.08% 0.14 111)
XYZxyz(69.7504, 82.2255, 31.5948)
Luminance0.8222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF17D #827DF1
analogous
#F1BC7D #ECF17D #B2F17D
triadic
#ECF17D #7DECF1 #F17DEC
tetradic
#ECF17D #7DF1BC #827DF1 #F17DB2
square
#ECF17D #7DF1BC #827DF1 #F17DB2
split-complementary
#ECF17D #7DB2F1 #BC7DF1
monochromatic
#D3DC18 #E4EB46 #ECF17D #F4F7B4 #FBFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF17D#FFFFFF#000000##000000
##ECF17D1.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)
#FFE873
Deuteranopia (green-blind)
#FFEC83
Tritanopia (blue-blind)
#F9E5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf17d;
/* rgb */ color: rgb(236, 241, 125);
/* oklch */ color: oklch(93.1% 0.140 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5a5',
    500: '#ecf17d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf17d;
$custom-light: #f4f5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf17d",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 125
  },
  "hsl": {
    "h": 62.586,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93078,
    "c": 0.13965,
    "h": 111
  },
  "luminance": 0.82224
}

Semantic roles & 50–950 ramp

primary
#ECF17D
secondary
#4C47CC
accent
#09DD12
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF17D

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

Preview Lab → · Contrast checker → · Palette generator →

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