#ECF87E#ECF87E

#ECF87E is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.6% C 0.147 H 113.9°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#ECF87E
RGBrgb(236, 248, 126)
HSLhsl(66, 90%, 73%)
HSVhsv(66, 49%, 97%)
CMYKcmyk(4.8%, 0%, 49.2%, 2.7%)
CIE-LABlab(94.52, -20.72, 56.69)
CIE-LCHlch(94.52, 60.36, 110.08°)
OKLaboklab(94.55% -0.0594 0.1342)
OKLCHoklch(94.55% 0.147 113.9)
XYZxyz(71.9266, 86.4751, 32.6370)
Luminance0.8647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF87E #8A7EF8
analogous
#F8C77E #ECF87E #AFF87E
triadic
#ECF87E #7EECF8 #F87EEC
tetradic
#ECF87E #7EF8C7 #8A7EF8 #F87EAF
square
#ECF87E #7EF8C7 #8A7EF8 #F87EAF
split-complementary
#ECF87E #7EAFF8 #C77EF8
monochromatic
#D8EF0D #E3F544 #ECF87E #F5FBB8 #FBFDE2

Accessibility & contrast

On white

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

On black

18.29
#ECF87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF87E
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF87E#FFFFFF#000000##000000
##ECF87E1.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE73
Deuteranopia (green-blind)
#FFF184
Tritanopia (blue-blind)
#F9ECDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf87e;
/* rgb */ color: rgb(236, 248, 126);
/* oklch */ color: oklch(94.6% 0.147 113.9);
Tailwind
colors: {
  custom: {
    50: '#f4faa6',
    500: '#ecf87e',
    950: '#000000',
  },
}
SCSS
$custom: #ecf87e;
$custom-light: #f4faa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf87e",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 65.902,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94551,
    "c": 0.14677,
    "h": 113.9
  },
  "luminance": 0.86474
}

Semantic roles & 50–950 ramp

primary
#ECF87E
secondary
#5446D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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