#ECFB93#ECFB93

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

Color values

HEX#ECFB93
RGBrgb(236, 251, 147)
HSLhsl(69, 93%, 78%)
HSVhsv(69, 41%, 98%)
CMYKcmyk(6%, 0%, 41.4%, 1.6%)
CIE-LABlab(95.55, -20.12, 48.09)
CIE-LCHlch(95.55, 52.13, 112.70°)
OKLaboklab(95.46% -0.0559 0.1166)
OKLCHoklch(95.46% 0.129 115.6)
XYZxyz(74.3563, 88.9346, 40.8471)
Luminance0.8893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB93 #A293FB
analogous
#FBD693 #ECFB93 #B8FB93
triadic
#ECFB93 #93ECFB #FB93EC
tetradic
#ECFB93 #93FBD6 #A293FB #FB93B8
square
#ECFB93 #93FBD6 #A293FB #FB93B8
split-complementary
#ECFB93 #93B8FB #D693FB
monochromatic
#D7F71D #E2F958 #ECFB93 #F6FDCE #FAFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB93#FFFFFF#000000##000000
##ECFB931.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)
#FFF18B
Deuteranopia (green-blind)
#FFF398
Tritanopia (blue-blind)
#F7F0E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb93;
/* rgb */ color: rgb(236, 251, 147);
/* oklch */ color: oklch(95.5% 0.129 115.6);
Tailwind
colors: {
  custom: {
    50: '#f3fcb4',
    500: '#ecfb93',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb93;
$custom-light: #f3fcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb93",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 147
  },
  "hsl": {
    "h": 68.654,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.95462,
    "c": 0.12927,
    "h": 115.6
  },
  "luminance": 0.88934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB93

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

Preview Lab → · Contrast checker → · Palette generator →

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