#ECF25F#ECF25F

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

Color values

HEX#ECF25F
RGBrgb(236, 242, 95)
HSLhsl(62, 85%, 66%)
HSVhsv(62, 61%, 95%)
CMYKcmyk(2.5%, 0%, 60.7%, 5.1%)
CIE-LABlab(92.65, -20.22, 68.07)
CIE-LCHlch(92.65, 71.01, 106.54°)
OKLaboklab(92.96% -0.061 0.1553)
OKLCHoklch(92.96% 0.167 111.4)
XYZxyz(68.4117, 82.1649, 23.0799)
Luminance0.8216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF25F #655FF2
analogous
#F2AE5F #ECF25F #A2F25F
triadic
#ECF25F #5FECF2 #F25FEC
tetradic
#ECF25F #5FF2AE #655FF2 #F25FA2
square
#ECF25F #5FF2AE #655FF2 #F25FA2
split-complementary
#ECF25F #5FA2F2 #AE5FF2
monochromatic
#BFC610 #E5ED26 #ECF25F #F3F798 #F9FBD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF25F#FFFFFF#000000##000000
##ECF25F1.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)
#FFE84D
Deuteranopia (green-blind)
#FFEC68
Tritanopia (blue-blind)
#FBE4D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf25f;
/* rgb */ color: rgb(236, 242, 95);
/* oklch */ color: oklch(93.0% 0.167 111.4);
Tailwind
colors: {
  custom: {
    50: '#f5f692',
    500: '#ecf25f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf25f;
$custom-light: #f5f692;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf25f",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 95
  },
  "hsl": {
    "h": 62.449,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92964,
    "c": 0.16685,
    "h": 111.4
  },
  "luminance": 0.82163
}

Semantic roles & 50–950 ramp

primary
#ECF25F
secondary
#3832C4
accent
#04E10D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF25F

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

Preview Lab → · Contrast checker → · Palette generator →

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