#ECF84F#ECF84F

#ECF84F is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.1% C 0.184 H 113.4°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#ECF84F
RGBrgb(236, 248, 79)
HSLhsl(64, 92%, 64%)
HSVhsv(64, 68%, 97%)
CMYKcmyk(4.8%, 0%, 68.1%, 2.7%)
CIE-LABlab(94.11, -24.01, 75.71)
CIE-LCHlch(94.11, 79.42, 107.60°)
OKLaboklab(94.1% -0.0732 0.1691)
OKLCHoklch(94.1% 0.184 113.4)
XYZxyz(69.5728, 85.5336, 20.2403)
Luminance0.8553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF84F #5B4FF8
analogous
#F8AF4F #ECF84F #98F84F
triadic
#ECF84F #4FECF8 #F84FEC
tetradic
#ECF84F #4FF8AF #5B4FF8 #F84F98
square
#ECF84F #4FF8AF #5B4FF8 #F84F98
split-complementary
#ECF84F #4F98F8 #AF4FF8
monochromatic
#B7C508 #E6F614 #ECF84F #F2FA8A #F9FDC5

Accessibility & contrast

On white

1.16
#ECF84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.11
#ECF84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF84F
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF84F#FFFFFF#000000##000000
##ECF84F1.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC34
Deuteranopia (green-blind)
#FFF05C
Tritanopia (blue-blind)
#FBEAD7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf84f;
/* rgb */ color: rgb(236, 248, 79);
/* oklch */ color: oklch(94.1% 0.184 113.4);
Tailwind
colors: {
  custom: {
    50: '#f6fa8a',
    500: '#ecf84f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf84f;
$custom-light: #f6fa8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf84f",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 79
  },
  "hsl": {
    "h": 64.26,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.941,
    "c": 0.18421,
    "h": 113.4
  },
  "luminance": 0.85532
}

Semantic roles & 50–950 ramp

primary
#ECF84F
secondary
#342AC2
accent
#00E610
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECF84F

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

Preview Lab → · Contrast checker → · Palette generator →

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