#ECF95F#ECF95F

#ECF95F is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.4% C 0.174 H 113.8°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#ECF95F
RGBrgb(236, 249, 95)
HSLhsl(65, 93%, 67%)
HSVhsv(65, 62%, 98%)
CMYKcmyk(5.2%, 0%, 61.8%, 2.4%)
CIE-LABlab(94.49, -23.56, 70.04)
CIE-LCHlch(94.49, 73.90, 108.59°)
OKLaboklab(94.44% -0.0704 0.1595)
OKLCHoklch(94.44% 0.174 113.8)
XYZxyz(70.5351, 86.4118, 23.7877)
Luminance0.8641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF95F #6C5FF9
analogous
#F9B95F #ECF95F #9FF95F
triadic
#ECF95F #5FECF9 #F95FEC
tetradic
#ECF95F #5FF9B9 #6C5FF9 #F95F9F
square
#ECF95F #5FF9B9 #6C5FF9 #F95F9F
split-complementary
#ECF95F #5F9FF9 #B95FF9
monochromatic
#C4D608 #E5F724 #ECF95F #F3FB9A #FAFDD5

Accessibility & contrast

On white

1.15
#ECF95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#ECF95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF95F
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF95F#FFFFFF#000000##000000
##ECF95F1.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4C
Deuteranopia (green-blind)
#FFF169
Tritanopia (blue-blind)
#FAEBD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf95f;
/* rgb */ color: rgb(236, 249, 95);
/* oklch */ color: oklch(94.4% 0.174 113.8);
Tailwind
colors: {
  custom: {
    50: '#f5fb93',
    500: '#ecf95f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf95f;
$custom-light: #f5fb93;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf95f",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 95
  },
  "hsl": {
    "h": 65.065,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.94436,
    "c": 0.17431,
    "h": 113.8
  },
  "luminance": 0.8641
}

Semantic roles & 50–950 ramp

primary
#ECF95F
secondary
#3A2CD0
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECF95F

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

Preview Lab → · Contrast checker → · Palette generator →

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