#ECFA8B#ECFA8B

#ECFA8B is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.1% C 0.136 H 114.9°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#ECFA8B
RGBrgb(236, 250, 139)
HSLhsl(68, 92%, 76%)
HSVhsv(68, 44%, 98%)
CMYKcmyk(5.6%, 0%, 44.4%, 2%)
CIE-LABlab(95.19, -20.46, 51.45)
CIE-LCHlch(95.19, 55.37, 111.68°)
OKLaboklab(95.14% -0.0575 0.1236)
OKLCHoklch(95.14% 0.136 114.9)
XYZxyz(73.4387, 88.0691, 37.5514)
Luminance0.8807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA8B #998BFA
analogous
#FAD18B #ECFA8B #B5FA8B
triadic
#ECFA8B #8BECFA #FA8BEC
tetradic
#ECFA8B #8BFAD1 #998BFA #FA8BB5
square
#ECFA8B #8BFAD1 #998BFA #FA8BB5
split-complementary
#ECFA8B #8BB5FA #D18BFA
monochromatic
#D9F516 #E2F750 #ECFA8B #F6FDC6 #FAFEE2

Accessibility & contrast

On white

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

On black

18.61
#ECFA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA8B
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA8B#FFFFFF#000000##000000
##ECFA8B1.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF082
Deuteranopia (green-blind)
#FFF291
Tritanopia (blue-blind)
#F7EFE0
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfa8b;
/* rgb */ color: rgb(236, 250, 139);
/* oklch */ color: oklch(95.1% 0.136 114.9);
Tailwind
colors: {
  custom: {
    50: '#f4fbaf',
    500: '#ecfa8b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa8b;
$custom-light: #f4fbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa8b",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 139
  },
  "hsl": {
    "h": 67.568,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95139,
    "c": 0.13633,
    "h": 114.9
  },
  "luminance": 0.88068
}

Semantic roles & 50–950 ramp

primary
#ECFA8B
secondary
#6250D9
accent
#00E61D
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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