#ECFA8F#ECFA8F

#ECFA8F is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.132 H 115.1°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#ECFA8F
RGBrgb(236, 250, 143)
HSLhsl(68, 91%, 77%)
HSVhsv(68, 43%, 98%)
CMYKcmyk(5.6%, 0%, 42.8%, 2%)
CIE-LABlab(95.24, -20.05, 49.61)
CIE-LCHlch(95.24, 53.51, 112.01°)
OKLaboklab(95.2% -0.056 0.1198)
OKLCHoklch(95.2% 0.132 115.1)
XYZxyz(73.7363, 88.1881, 39.1189)
Luminance0.8819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA8F #9D8FFA
analogous
#FAD28F #ECFA8F #B7FA8F
triadic
#ECFA8F #8FECFA #FA8FEC
tetradic
#ECFA8F #8FFAD2 #9D8FFA #FA8FB7
square
#ECFA8F #8FFAD2 #9D8FFA #FA8FB7
split-complementary
#ECFA8F #8FB7FA #D28FFA
monochromatic
#D8F51A #E2F754 #ECFA8F #F6FDCA #FAFEE2

Accessibility & contrast

On white

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

On black

18.64
#ECFA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA8F
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA8F#FFFFFF#000000##000000
##ECFA8F1.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfa8f;
/* rgb */ color: rgb(236, 250, 143);
/* oklch */ color: oklch(95.2% 0.132 115.1);
Tailwind
colors: {
  custom: {
    50: '#f4fbb1',
    500: '#ecfa8f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa8f;
$custom-light: #f4fbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa8f",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 143
  },
  "hsl": {
    "h": 67.85,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95196,
    "c": 0.13221,
    "h": 115.1
  },
  "luminance": 0.88187
}

Semantic roles & 50–950 ramp

primary
#ECFA8F
secondary
#6554D9
accent
#00E61E
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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