#ECFB62#ECFB62

#ECFB62 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 94.9% C 0.174 H 114.5°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#ECFB62
RGBrgb(236, 251, 98)
HSLhsl(66, 95%, 68%)
HSVhsv(66, 61%, 98%)
CMYKcmyk(6%, 0%, 61%, 1.6%)
CIE-LABlab(95.04, -24.31, 69.43)
CIE-LCHlch(95.04, 73.56, 109.30°)
OKLaboklab(94.89% -0.0722 0.1586)
OKLCHoklch(94.89% 0.174 114.5)
XYZxyz(71.2955, 87.7103, 24.7269)
Luminance0.8771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB62 #7162FB
analogous
#FBBD62 #ECFB62 #9FFB62
triadic
#ECFB62 #62ECFB #FB62EC
tetradic
#ECFB62 #62FBBD #7162FB #FB629F
square
#ECFB62 #62FBBD #7162FB #FB629F
split-complementary
#ECFB62 #629FFB #BD62FB
monochromatic
#C8DD06 #E5F926 #ECFB62 #F3FD9E #FAFED9

Accessibility & contrast

On white

1.13
#ECFB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#ECFB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB62
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB62#FFFFFF#000000##000000
##ECFB621.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF4F
Deuteranopia (green-blind)
#FFF26C
Tritanopia (blue-blind)
#FAEDDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb62;
/* rgb */ color: rgb(236, 251, 98);
/* oklch */ color: oklch(94.9% 0.174 114.5);
Tailwind
colors: {
  custom: {
    50: '#f5fc95',
    500: '#ecfb62',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb62;
$custom-light: #f5fc95;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb62",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 98
  },
  "hsl": {
    "h": 65.882,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94885,
    "c": 0.17424,
    "h": 114.5
  },
  "luminance": 0.87709
}

Semantic roles & 50–950 ramp

primary
#ECFB62
secondary
#3D2DD5
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFB62

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

Preview Lab → · Contrast checker → · Palette generator →

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