#ECF25A#ECF25A

#ECF25A is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 92.9% C 0.171 H 111.5°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#ECF25A
RGBrgb(236, 242, 90)
HSLhsl(62, 85%, 65%)
HSVhsv(62, 63%, 95%)
CMYKcmyk(2.5%, 0%, 62.8%, 5.1%)
CIE-LABlab(92.61, -20.53, 70.04)
CIE-LCHlch(92.61, 72.98, 106.34°)
OKLaboklab(92.92% -0.0624 0.1588)
OKLCHoklch(92.92% 0.171 111.5)
XYZxyz(68.1916, 82.0769, 21.9211)
Luminance0.8207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF25A #605AF2
analogous
#F2AC5A #ECF25A #A0F25A
triadic
#ECF25A #5AECF2 #F25AEC
tetradic
#ECF25A #5AF2AC #605AF2 #F25AA0
square
#ECF25A #5AF2AC #605AF2 #F25AA0
split-complementary
#ECF25A #5AA0F2 #AC5AF2
monochromatic
#BBC20F #E5EE21 #ECF25A #F3F693 #F9FBCB

Accessibility & contrast

On white

1.21
#ECF25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#ECF25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF25A
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF25A#FFFFFF#000000##000000
##ECF25A1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE846
Deuteranopia (green-blind)
#FFEC64
Tritanopia (blue-blind)
#FBE4D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf25a;
/* rgb */ color: rgb(236, 242, 90);
/* oklch */ color: oklch(92.9% 0.171 111.5);
Tailwind
colors: {
  custom: {
    50: '#f5f68f',
    500: '#ecf25a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf25a;
$custom-light: #f5f68f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf25a",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 90
  },
  "hsl": {
    "h": 62.368,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.92921,
    "c": 0.17058,
    "h": 111.5
  },
  "luminance": 0.82075
}

Semantic roles & 50–950 ramp

primary
#ECF25A
secondary
#3630C0
accent
#04E20C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF25A

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

Preview Lab → · Contrast checker → · Palette generator →

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