#ECF893#ECF893

#ECF893 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.126 H 114.4°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#ECF893
RGBrgb(236, 248, 147)
HSLhsl(67, 88%, 77%)
HSVhsv(67, 41%, 97%)
CMYKcmyk(4.8%, 0%, 40.7%, 2.7%)
CIE-LABlab(94.77, -18.67, 47.10)
CIE-LCHlch(94.77, 50.67, 111.62°)
OKLaboklab(94.84% -0.0518 0.1143)
OKLCHoklch(94.84% 0.126 114.4)
XYZxyz(73.4266, 87.0752, 40.5372)
Luminance0.8707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF893 #9F93F8
analogous
#F8D293 #ECF893 #B9F893
triadic
#ECF893 #93ECF8 #F893EC
tetradic
#ECF893 #93F8D2 #9F93F8 #F893B9
square
#ECF893 #93F8D2 #9F93F8 #F893B9
split-complementary
#ECF893 #93B9F8 #D293F8
monochromatic
#D8F120 #E2F45A #ECF893 #F6FCCC #FAFDE2

Accessibility & contrast

On white

1.14
#ECF893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#ECF893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF893
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF893#FFFFFF#000000##000000
##ECF8931.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8B
Deuteranopia (green-blind)
#FFF198
Tritanopia (blue-blind)
#F7EEDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf893;
/* rgb */ color: rgb(236, 248, 147);
/* oklch */ color: oklch(94.8% 0.126 114.4);
Tailwind
colors: {
  custom: {
    50: '#f3fab4',
    500: '#ecf893',
    950: '#000000',
  },
}
SCSS
$custom: #ecf893;
$custom-light: #f3fab4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf893",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 147
  },
  "hsl": {
    "h": 67.129,
    "s": 87.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94837,
    "c": 0.12552,
    "h": 114.4
  },
  "luminance": 0.87074
}

Semantic roles & 50–950 ramp

primary
#ECF893
secondary
#6758D7
accent
#01E41C
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF893

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

Preview Lab → · Contrast checker → · Palette generator →

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