#ECF55F#ECF55F

#ECF55F is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.6% C 0.170 H 112.5°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#ECF55F
RGBrgb(236, 245, 95)
HSLhsl(64, 88%, 67%)
HSVhsv(64, 61%, 96%)
CMYKcmyk(3.7%, 0%, 61.2%, 3.9%)
CIE-LABlab(93.44, -21.66, 68.92)
CIE-LCHlch(93.44, 72.24, 107.44°)
OKLaboklab(93.59% -0.065 0.1571)
OKLCHoklch(93.59% 0.17 112.5)
XYZxyz(69.3119, 83.9654, 23.3800)
Luminance0.8396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF55F #685FF5
analogous
#F5B35F #ECF55F #A1F55F
triadic
#ECF55F #5FECF5 #F55FEC
tetradic
#ECF55F #5FF5B3 #685FF5 #F55FA1
square
#ECF55F #5FF5B3 #685FF5 #F55FA1
split-complementary
#ECF55F #5FA1F5 #B35FF5
monochromatic
#C1CD0D #E5F125 #ECF55F #F3F999 #FAFCD2

Accessibility & contrast

On white

1.18
#ECF55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#ECF55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF55F
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF55F#FFFFFF#000000##000000
##ECF55F1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4C
Deuteranopia (green-blind)
#FFEE69
Tritanopia (blue-blind)
#FBE7D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf55f;
/* rgb */ color: rgb(236, 245, 95);
/* oklch */ color: oklch(93.6% 0.170 112.5);
Tailwind
colors: {
  custom: {
    50: '#f5f893',
    500: '#ecf55f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf55f;
$custom-light: #f5f893;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf55f",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 95
  },
  "hsl": {
    "h": 63.6,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.93594,
    "c": 0.17003,
    "h": 112.5
  },
  "luminance": 0.83964
}

Semantic roles & 50–950 ramp

primary
#ECF55F
secondary
#392FC9
accent
#01E50E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF55F

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

Preview Lab → · Contrast checker → · Palette generator →

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