#ECF55E#ECF55E

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

Color values

HEX#ECF55E
RGBrgb(236, 245, 94)
HSLhsl(64, 88%, 66%)
HSVhsv(64, 62%, 96%)
CMYKcmyk(3.7%, 0%, 61.6%, 3.9%)
CIE-LABlab(93.43, -21.72, 69.31)
CIE-LCHlch(93.43, 72.64, 107.40°)
OKLaboklab(93.59% -0.0653 0.1578)
OKLCHoklch(93.59% 0.171 112.5)
XYZxyz(69.2667, 83.9473, 23.1421)
Luminance0.8395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF55E #675EF5
analogous
#F5B35E #ECF55E #A1F55E
triadic
#ECF55E #5EECF5 #F55EEC
tetradic
#ECF55E #5EF5B3 #675EF5 #F55EA1
square
#ECF55E #5EF5B3 #675EF5 #F55EA1
split-complementary
#ECF55E #5EA1F5 #B35EF5
monochromatic
#C1CC0D #E5F124 #ECF55E #F3F998 #FAFCD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF55E#FFFFFF#000000##000000
##ECF55E1.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)
#FFEA4B
Deuteranopia (green-blind)
#FFEE68
Tritanopia (blue-blind)
#FBE7D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf55e;
/* rgb */ color: rgb(236, 245, 94);
/* oklch */ color: oklch(93.6% 0.171 112.5);
Tailwind
colors: {
  custom: {
    50: '#f5f892',
    500: '#ecf55e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf55e;
$custom-light: #f5f892;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf55e",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 94
  },
  "hsl": {
    "h": 63.576,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93585,
    "c": 0.17077,
    "h": 112.5
  },
  "luminance": 0.83946
}

Semantic roles & 50–950 ramp

primary
#ECF55E
secondary
#382FC8
accent
#01E50E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF55E

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

Preview Lab → · Contrast checker → · Palette generator →

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