#ECF49A#ECF49A

#ECF49A is a very light, moderate yellow. Relative luminance 0.849; OKLCH L 94.1% C 0.113 H 112.7°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#ECF49A
RGBrgb(236, 244, 154)
HSLhsl(65, 80%, 78%)
HSVhsv(65, 37%, 96%)
CMYKcmyk(3.3%, 0%, 36.9%, 4.3%)
CIE-LABlab(93.83, -15.96, 42.49)
CIE-LCHlch(93.83, 45.39, 110.59°)
OKLaboklab(94.12% -0.0436 0.1042)
OKLCHoklch(94.12% 0.113 112.7)
XYZxyz(72.7760, 84.8683, 43.1130)
Luminance0.8487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF49A #A29AF4
analogous
#F4CF9A #ECF49A #BFF49A
triadic
#ECF49A #9AECF4 #F49AEC
tetradic
#ECF49A #9AF4CF #A29AF4 #F49ABF
square
#ECF49A #9AF4CF #A29AF4 #F49ABF
split-complementary
#ECF49A #9ABFF4 #CF9AF4
monochromatic
#D7E82C #E2EE63 #ECF49A #F6FAD1 #FAFCE3

Accessibility & contrast

On white

1.17
#ECF49A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#ECF49A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF49A
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF49A#FFFFFF#000000##000000
##ECF49A1.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC93
Deuteranopia (green-blind)
#FFEE9E
Tritanopia (blue-blind)
#F7EADE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf49a;
/* rgb */ color: rgb(236, 244, 154);
/* oklch */ color: oklch(94.1% 0.113 112.7);
Tailwind
colors: {
  custom: {
    50: '#f3f7b9',
    500: '#ecf49a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf49a;
$custom-light: #f3f7b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf49a",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 154
  },
  "hsl": {
    "h": 65.333,
    "s": 80.357,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94117,
    "c": 0.11292,
    "h": 112.7
  },
  "luminance": 0.84867
}

Semantic roles & 50–950 ramp

primary
#ECF49A
secondary
#6A60D2
accent
#09DD1C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF49A

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

Preview Lab → · Contrast checker → · Palette generator →

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