#ECF858#ECF858

#ECF858 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.2% C 0.178 H 113.5°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#ECF858
RGBrgb(236, 248, 88)
HSLhsl(65, 92%, 66%)
HSVhsv(65, 65%, 97%)
CMYKcmyk(4.8%, 0%, 64.5%, 2.7%)
CIE-LABlab(94.17, -23.51, 72.44)
CIE-LCHlch(94.17, 76.17, 107.98°)
OKLaboklab(94.17% -0.071 0.1636)
OKLCHoklch(94.17% 0.178 113.5)
XYZxyz(69.9228, 85.6736, 22.0839)
Luminance0.8567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF858 #6458F8
analogous
#F8B458 #ECF858 #9CF858
triadic
#ECF858 #58ECF8 #F858EC
tetradic
#ECF858 #58F8B4 #6458F8 #F8589C
square
#ECF858 #58F8B4 #6458F8 #F8589C
split-complementary
#ECF858 #589CF8 #B458F8
monochromatic
#BECD09 #E5F61D #ECF858 #F3FA93 #F9FDCD

Accessibility & contrast

On white

1.16
#ECF858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#ECF858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF858
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF858#FFFFFF#000000##000000
##ECF8581.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED42
Deuteranopia (green-blind)
#FFF063
Tritanopia (blue-blind)
#FBEAD7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf858;
/* rgb */ color: rgb(236, 248, 88);
/* oklch */ color: oklch(94.2% 0.178 113.5);
Tailwind
colors: {
  custom: {
    50: '#f5fa8f',
    500: '#ecf858',
    950: '#000000',
  },
}
SCSS
$custom: #ecf858;
$custom-light: #f5fa8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf858",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 88
  },
  "hsl": {
    "h": 64.5,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.94167,
    "c": 0.17828,
    "h": 113.5
  },
  "luminance": 0.85672
}

Semantic roles & 50–950 ramp

primary
#ECF858
secondary
#372CC9
accent
#00E611
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF858

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

Preview Lab → · Contrast checker → · Palette generator →

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