#ECF393#ECF393

#ECF393 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.119 H 112.1°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#ECF393
RGBrgb(236, 243, 147)
HSLhsl(64, 80%, 76%)
HSVhsv(64, 40%, 95%)
CMYKcmyk(2.9%, 0%, 39.5%, 4.7%)
CIE-LABlab(93.47, -16.24, 45.46)
CIE-LCHlch(93.47, 48.28, 109.66°)
OKLaboklab(93.8% -0.0449 0.1106)
OKLCHoklch(93.8% 0.119 112.1)
XYZxyz(71.9099, 84.0417, 40.0316)
Luminance0.8404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF393 #9A93F3
analogous
#F3CA93 #ECF393 #BCF393
triadic
#ECF393 #93ECF3 #F393EC
tetradic
#ECF393 #93F3CA #9A93F3 #F393BC
square
#ECF393 #93F3CA #9A93F3 #F393BC
split-complementary
#ECF393 #93BCF3 #CA93F3
monochromatic
#D9E725 #E2ED5C #ECF393 #F6F9CA #FAFCE3

Accessibility & contrast

On white

1.18
#ECF393 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#ECF393 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF393
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF393#FFFFFF#000000##000000
##ECF3931.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8C
Deuteranopia (green-blind)
#FFEE97
Tritanopia (blue-blind)
#F7E9DC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf393;
/* rgb */ color: rgb(236, 243, 147);
/* oklch */ color: oklch(93.8% 0.119 112.1);
Tailwind
colors: {
  custom: {
    50: '#f3f7b4',
    500: '#ecf393',
    950: '#000000',
  },
}
SCSS
$custom: #ecf393;
$custom-light: #f3f7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf393",
  "rgb": {
    "r": 236,
    "g": 243,
    "b": 147
  },
  "hsl": {
    "h": 64.375,
    "s": 80,
    "l": 76.471
  },
  "oklch": {
    "l": 0.938,
    "c": 0.11937,
    "h": 112.1
  },
  "luminance": 0.84041
}

Semantic roles & 50–950 ramp

primary
#ECF393
secondary
#625AD0
accent
#09DC19
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF393

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

Preview Lab → · Contrast checker → · Palette generator →

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