#ECF299#ECF299

#ECF299 is a very light, moderate yellow. Relative luminance 0.836; OKLCH L 93.7% C 0.112 H 111.7°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#ECF299
RGBrgb(236, 242, 153)
HSLhsl(64, 77%, 77%)
HSVhsv(64, 37%, 95%)
CMYKcmyk(2.5%, 0%, 36.8%, 5.1%)
CIE-LABlab(93.29, -15.10, 42.30)
CIE-LCHlch(93.29, 44.91, 109.64°)
OKLaboklab(93.69% -0.0412 0.1037)
OKLCHoklch(93.69% 0.112 111.7)
XYZxyz(72.0946, 83.6381, 42.4767)
Luminance0.8364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF299 #9F99F2
analogous
#F2CC99 #ECF299 #BFF299
triadic
#ECF299 #99ECF2 #F299EC
tetradic
#ECF299 #99F2CC #9F99F2 #F299BF
square
#ECF299 #99F2CC #9F99F2 #F299BF
split-complementary
#ECF299 #99BFF2 #CC99F2
monochromatic
#D8E42C #E2EB63 #ECF299 #F6F9CF #FAFCE4

Accessibility & contrast

On white

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

On black

17.73
#ECF299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF299
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF299#FFFFFF#000000##000000
##ECF2991.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA92
Deuteranopia (green-blind)
#FFED9D
Tritanopia (blue-blind)
#F7E8DC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf299;
/* rgb */ color: rgb(236, 242, 153);
/* oklch */ color: oklch(93.7% 0.112 111.7);
Tailwind
colors: {
  custom: {
    50: '#f3f6b8',
    500: '#ecf299',
    950: '#000000',
  },
}
SCSS
$custom: #ecf299;
$custom-light: #f3f6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf299",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 64.045,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93688,
    "c": 0.11156,
    "h": 111.7
  },
  "luminance": 0.83637
}

Semantic roles & 50–950 ramp

primary
#ECF299
secondary
#6760D0
accent
#0CDA1A
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF299

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

Preview Lab → · Contrast checker → · Palette generator →

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