#ECF958#ECF958

#ECF958 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.4% C 0.179 H 113.8°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#ECF958
RGBrgb(236, 249, 88)
HSLhsl(65, 93%, 66%)
HSVhsv(65, 65%, 98%)
CMYKcmyk(5.2%, 0%, 64.7%, 2.4%)
CIE-LABlab(94.44, -23.99, 72.72)
CIE-LCHlch(94.44, 76.57, 108.26°)
OKLaboklab(94.38% -0.0723 0.1641)
OKLCHoklch(94.38% 0.179 113.8)
XYZxyz(70.2311, 86.2902, 22.1866)
Luminance0.8629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF958 #6558F9
analogous
#F9B558 #ECF958 #9BF958
triadic
#ECF958 #58ECF9 #F958EC
tetradic
#ECF958 #58F9B5 #6558F9 #F9589B
square
#ECF958 #58F9B5 #6558F9 #F9589B
split-complementary
#ECF958 #589BF9 #B558F9
monochromatic
#BFCF07 #E5F71D #ECF958 #F3FB93 #F9FDCE

Accessibility & contrast

On white

1.15
#ECF958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#ECF958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF958
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF958#FFFFFF#000000##000000
##ECF9581.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED42
Deuteranopia (green-blind)
#FFF163
Tritanopia (blue-blind)
#FBEBD8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf958;
/* rgb */ color: rgb(236, 249, 88);
/* oklch */ color: oklch(94.4% 0.179 113.8);
Tailwind
colors: {
  custom: {
    50: '#f5fb8f',
    500: '#ecf958',
    950: '#000000',
  },
}
SCSS
$custom: #ecf958;
$custom-light: #f5fb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf958",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 64.845,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94378,
    "c": 0.17934,
    "h": 113.8
  },
  "luminance": 0.86289
}

Semantic roles & 50–950 ramp

primary
#ECF958
secondary
#382BCA
accent
#00E613
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF958

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

Preview Lab → · Contrast checker → · Palette generator →

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