#ECFB8A#ECFB8A

#ECFB8A is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.3% C 0.139 H 115.3°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#ECFB8A
RGBrgb(236, 251, 138)
HSLhsl(68, 93%, 76%)
HSVhsv(68, 45%, 98%)
CMYKcmyk(6%, 0%, 45%, 1.6%)
CIE-LABlab(95.44, -21.04, 52.23)
CIE-LCHlch(95.44, 56.31, 111.94°)
OKLaboklab(95.34% -0.0592 0.1253)
OKLCHoklch(95.34% 0.139 115.3)
XYZxyz(73.6775, 88.6631, 37.2722)
Luminance0.8866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB8A #998AFB
analogous
#FBD28A #ECFB8A #B4FB8A
triadic
#ECFB8A #8AECFB #FB8AEC
tetradic
#ECFB8A #8AFBD2 #998AFB #FB8AB4
square
#ECFB8A #8AFBD2 #998AFB #FB8AB4
split-complementary
#ECFB8A #8AB4FB #D28AFB
monochromatic
#D9F714 #E2F94F #ECFB8A #F6FDC5 #FAFEE1

Accessibility & contrast

On white

1.12
#ECFB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#ECFB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB8A
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB8A#FFFFFF#000000##000000
##ECFB8A1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF181
Deuteranopia (green-blind)
#FFF390
Tritanopia (blue-blind)
#F7F0E0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb8a;
/* rgb */ color: rgb(236, 251, 138);
/* oklch */ color: oklch(95.3% 0.139 115.3);
Tailwind
colors: {
  custom: {
    50: '#f4fcae',
    500: '#ecfb8a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb8a;
$custom-light: #f4fcae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb8a",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 138
  },
  "hsl": {
    "h": 67.965,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95335,
    "c": 0.13858,
    "h": 115.3
  },
  "luminance": 0.88662
}

Semantic roles & 50–950 ramp

primary
#ECFB8A
secondary
#624FDA
accent
#00E61E
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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