#ECF058#ECF058

#ECF058 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.5% C 0.170 H 110.7°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#ECF058
RGBrgb(236, 240, 88)
HSLhsl(62, 84%, 64%)
HSVhsv(62, 63%, 94%)
CMYKcmyk(1.7%, 0%, 63.3%, 5.9%)
CIE-LABlab(92.07, -19.69, 70.26)
CIE-LCHlch(92.07, 72.96, 105.65°)
OKLaboklab(92.49% -0.0602 0.1589)
OKLCHoklch(92.49% 0.17 110.7)
XYZxyz(67.5156, 80.8593, 21.2815)
Luminance0.8086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF058 #5C58F0
analogous
#F0A858 #ECF058 #A0F058
triadic
#ECF058 #58ECF0 #F058EC
tetradic
#ECF058 #58F0A8 #5C58F0 #F058A0
square
#ECF058 #58F0A8 #5C58F0 #F058A0
split-complementary
#ECF058 #58A0F0 #A858F0
monochromatic
#B8BD11 #E6EB20 #ECF058 #F2F590 #F9FAC8

Accessibility & contrast

On white

1.22
#ECF058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#ECF058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF058
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF058#FFFFFF#000000##000000
##ECF0581.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE644
Deuteranopia (green-blind)
#FFEA62
Tritanopia (blue-blind)
#FBE2D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecf058;
/* rgb */ color: rgb(236, 240, 88);
/* oklch */ color: oklch(92.5% 0.170 110.7);
Tailwind
colors: {
  custom: {
    50: '#f5f48e',
    500: '#ecf058',
    950: '#000000',
  },
}
SCSS
$custom: #ecf058;
$custom-light: #f5f48e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf058",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 88
  },
  "hsl": {
    "h": 61.579,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.92485,
    "c": 0.16996,
    "h": 110.7
  },
  "luminance": 0.80858
}

Semantic roles & 50–950 ramp

primary
#ECF058
secondary
#3531BB
accent
#06E00B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF058

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

Preview Lab → · Contrast checker → · Palette generator →

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