#ECF29F#ECF29F

#ECF29F is a very light, moderate yellow. Relative luminance 0.838; OKLCH L 93.8% C 0.105 H 111.8°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#ECF29F
RGBrgb(236, 242, 159)
HSLhsl(64, 76%, 79%)
HSVhsv(64, 34%, 95%)
CMYKcmyk(2.5%, 0%, 34.3%, 5.1%)
CIE-LABlab(93.38, -14.41, 39.45)
CIE-LCHlch(93.38, 42.00, 110.07°)
OKLaboklab(93.79% -0.0389 0.0973)
OKLCHoklch(93.79% 0.105 111.8)
XYZxyz(72.6027, 83.8413, 45.1525)
Luminance0.8384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF29F #A59FF2
analogous
#F2CE9F #ECF29F #C2F29F
triadic
#ECF29F #9FECF2 #F29FEC
tetradic
#ECF29F #9FF2CE #A59FF2 #F29FC2
square
#ECF29F #9FF2CE #A59FF2 #F29FC2
split-complementary
#ECF29F #9FC2F2 #CE9FF2
monochromatic
#D7E333 #E1EB69 #ECF29F #F7F9D5 #FAFBE4

Accessibility & contrast

On white

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

On black

17.77
#ECF29F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF29F
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF29F#FFFFFF#000000##000000
##ECF29F1.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEB99
Deuteranopia (green-blind)
#FEEDA3
Tritanopia (blue-blind)
#F6E9DD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf29f;
/* rgb */ color: rgb(236, 242, 159);
/* oklch */ color: oklch(93.8% 0.105 111.8);
Tailwind
colors: {
  custom: {
    50: '#f3f6bc',
    500: '#ecf29f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf29f;
$custom-light: #f3f6bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf29f",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 159
  },
  "hsl": {
    "h": 64.337,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93787,
    "c": 0.1048,
    "h": 111.8
  },
  "luminance": 0.8384
}

Semantic roles & 50–950 ramp

primary
#ECF29F
secondary
#6D65D0
accent
#0DD81C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECF29F

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

Preview Lab → · Contrast checker → · Palette generator →

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