#ECF862#ECF862

#ECF862 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.3% C 0.171 H 113.5°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#ECF862
RGBrgb(236, 248, 98)
HSLhsl(65, 91%, 68%)
HSVhsv(65, 60%, 97%)
CMYKcmyk(4.8%, 0%, 60.5%, 2.7%)
CIE-LABlab(94.25, -22.89, 68.57)
CIE-LCHlch(94.25, 72.29, 108.46°)
OKLaboklab(94.25% -0.0682 0.1568)
OKLCHoklch(94.25% 0.171 113.5)
XYZxyz(70.3658, 85.8508, 24.4170)
Luminance0.8585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF862 #6E62F8
analogous
#F8B962 #ECF862 #A1F862
triadic
#ECF862 #62ECF8 #F862EC
tetradic
#ECF862 #62F8B9 #6E62F8 #F862A1
square
#ECF862 #62F8B9 #6E62F8 #F862A1
split-complementary
#ECF862 #62A1F8 #B962F8
monochromatic
#C6D60A #E5F527 #ECF862 #F3FB9D #FAFDD7

Accessibility & contrast

On white

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

On black

18.17
#ECF862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF862
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF862#FFFFFF#000000##000000
##ECF8621.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#FAEAD8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf862;
/* rgb */ color: rgb(236, 248, 98);
/* oklch */ color: oklch(94.3% 0.171 113.5);
Tailwind
colors: {
  custom: {
    50: '#f5fa95',
    500: '#ecf862',
    950: '#000000',
  },
}
SCSS
$custom: #ecf862;
$custom-light: #f5fa95;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf862",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 64.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.94252,
    "c": 0.17096,
    "h": 113.5
  },
  "luminance": 0.8585
}

Semantic roles & 50–950 ramp

primary
#ECF862
secondary
#3B2ED0
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF862

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

Preview Lab → · Contrast checker → · Palette generator →

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