#ECFB4F#ECFB4F

#ECFB4F is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.7% C 0.187 H 114.3°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#ECFB4F
RGBrgb(236, 251, 79)
HSLhsl(65, 96%, 65%)
HSVhsv(65, 69%, 98%)
CMYKcmyk(6%, 0%, 68.5%, 1.6%)
CIE-LABlab(94.90, -25.43, 76.49)
CIE-LCHlch(94.90, 80.61, 108.39°)
OKLaboklab(94.73% -0.0771 0.1707)
OKLCHoklch(94.73% 0.187 114.3)
XYZxyz(70.5025, 87.3930, 20.5502)
Luminance0.8739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB4F #5E4FFB
analogous
#FBB44F #ECFB4F #96FB4F
triadic
#ECFB4F #4FECFB #FB4FEC
tetradic
#ECFB4F #4FFBB4 #5E4FFB #FB4F96
square
#ECFB4F #4FFBB4 #5E4FFB #FB4F96
split-complementary
#ECFB4F #4F96FB #B44FFB
monochromatic
#BACB05 #E6FA13 #ECFB4F #F2FC8B #F9FEC7

Accessibility & contrast

On white

1.14
#ECFB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#ECFB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB4F
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB4F#FFFFFF#000000##000000
##ECFB4F1.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF33
Deuteranopia (green-blind)
#FFF25C
Tritanopia (blue-blind)
#FBEDD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfb4f;
/* rgb */ color: rgb(236, 251, 79);
/* oklch */ color: oklch(94.7% 0.187 114.3);
Tailwind
colors: {
  custom: {
    50: '#f6fc8a',
    500: '#ecfb4f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb4f;
$custom-light: #f6fc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb4f",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 79
  },
  "hsl": {
    "h": 65.233,
    "s": 95.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.94734,
    "c": 0.18733,
    "h": 114.3
  },
  "luminance": 0.87392
}

Semantic roles & 50–950 ramp

primary
#ECFB4F
secondary
#3527C7
accent
#00E614
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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