#ECF199#ECF199

#ECF199 is a very light, moderate yellow. Relative luminance 0.830; OKLCH L 93.5% C 0.110 H 111.1°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#ECF199
RGBrgb(236, 241, 153)
HSLhsl(63, 76%, 77%)
HSVhsv(63, 37%, 95%)
CMYKcmyk(2.1%, 0%, 36.5%, 5.5%)
CIE-LABlab(93.03, -14.61, 41.97)
CIE-LCHlch(93.03, 44.44, 109.19°)
OKLaboklab(93.48% -0.0398 0.1029)
OKLCHoklch(93.48% 0.11 111.1)
XYZxyz(71.7978, 83.0445, 42.3778)
Luminance0.8304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF199 #9E99F1
analogous
#F1CA99 #ECF199 #C0F199
triadic
#ECF199 #99ECF1 #F199EC
tetradic
#ECF199 #99F1CA #9E99F1 #F199C0
square
#ECF199 #99F1CA #9E99F1 #F199C0
split-complementary
#ECF199 #99C0F1 #CA99F1
monochromatic
#D8E22D #E2EA63 #ECF199 #F6F8CF #FAFBE4

Accessibility & contrast

On white

1.19
#ECF199 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#ECF199 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF199
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF199#FFFFFF#000000##000000
##ECF1991.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA92
Deuteranopia (green-blind)
#FEEC9D
Tritanopia (blue-blind)
#F7E7DB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf199;
/* rgb */ color: rgb(236, 241, 153);
/* oklch */ color: oklch(93.5% 0.110 111.1);
Tailwind
colors: {
  custom: {
    50: '#f3f5b8',
    500: '#ecf199',
    950: '#000000',
  },
}
SCSS
$custom: #ecf199;
$custom-light: #f3f5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf199",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 153
  },
  "hsl": {
    "h": 63.409,
    "s": 75.862,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93482,
    "c": 0.11034,
    "h": 111.1
  },
  "luminance": 0.83043
}

Semantic roles & 50–950 ramp

primary
#ECF199
secondary
#6660CE
accent
#0DD819
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF199

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

Preview Lab → · Contrast checker → · Palette generator →

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