#ECFB94#ECFB94

#ECFB94 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.128 H 115.7°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#ECFB94
RGBrgb(236, 251, 148)
HSLhsl(69, 93%, 78%)
HSVhsv(69, 41%, 98%)
CMYKcmyk(6%, 0%, 41%, 1.6%)
CIE-LABlab(95.57, -20.01, 47.62)
CIE-LCHlch(95.57, 51.66, 112.79°)
OKLaboklab(95.48% -0.0555 0.1156)
OKLCHoklch(95.48% 0.128 115.7)
XYZxyz(74.4351, 88.9661, 41.2622)
Luminance0.8897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB94 #A394FB
analogous
#FBD694 #ECFB94 #B8FB94
triadic
#ECFB94 #94ECFB #FB94EC
tetradic
#ECFB94 #94FBD6 #A394FB #FB94B8
square
#ECFB94 #94FBD6 #A394FB #FB94B8
split-complementary
#ECFB94 #94B8FB #D694FB
monochromatic
#D7F71E #E2F959 #ECFB94 #F6FDCF #FAFEE2

Accessibility & contrast

On white

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

On black

18.79
#ECFB94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB94
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB94#FFFFFF#000000##000000
##ECFB941.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28C
Deuteranopia (green-blind)
#FFF399
Tritanopia (blue-blind)
#F7F1E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb94;
/* rgb */ color: rgb(236, 251, 148);
/* oklch */ color: oklch(95.5% 0.128 115.7);
Tailwind
colors: {
  custom: {
    50: '#f3fcb5',
    500: '#ecfb94',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb94;
$custom-light: #f3fcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb94",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 148
  },
  "hsl": {
    "h": 68.738,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95477,
    "c": 0.12822,
    "h": 115.7
  },
  "luminance": 0.88965
}

Semantic roles & 50–950 ramp

primary
#ECFB94
secondary
#6B58DB
accent
#00E621
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFB94

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

Preview Lab → · Contrast checker → · Palette generator →

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