#ECF25E#ECF25E

#ECF25E is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.0% C 0.168 H 111.4°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#ECF25E
RGBrgb(236, 242, 94)
HSLhsl(62, 85%, 66%)
HSVhsv(62, 61%, 95%)
CMYKcmyk(2.5%, 0%, 61.2%, 5.1%)
CIE-LABlab(92.64, -20.28, 68.47)
CIE-LCHlch(92.64, 71.41, 106.50°)
OKLaboklab(92.96% -0.0613 0.156)
OKLCHoklch(92.96% 0.168 111.4)
XYZxyz(68.3665, 82.1469, 22.8420)
Luminance0.8215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF25E #645EF2
analogous
#F2AE5E #ECF25E #A2F25E
triadic
#ECF25E #5EECF2 #F25EEC
tetradic
#ECF25E #5EF2AE #645EF2 #F25EA2
square
#ECF25E #5EF2AE #645EF2 #F25EA2
split-complementary
#ECF25E #5EA2F2 #AE5EF2
monochromatic
#BEC610 #E5ED25 #ECF25E #F3F797 #F9FBCF

Accessibility & contrast

On white

1.20
#ECF25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.43
#ECF25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF25E
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF25E#FFFFFF#000000##000000
##ECF25E1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf25e;
/* rgb */ color: rgb(236, 242, 94);
/* oklch */ color: oklch(93.0% 0.168 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f692',
    500: '#ecf25e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf25e;
$custom-light: #f5f692;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf25e",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 94
  },
  "hsl": {
    "h": 62.432,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92955,
    "c": 0.16761,
    "h": 111.4
  },
  "luminance": 0.82145
}

Semantic roles & 50–950 ramp

primary
#ECF25E
secondary
#3731C3
accent
#04E20D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF25E

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

Preview Lab → · Contrast checker → · Palette generator →

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