#ECF079#ECF079

#ECF079 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.8% C 0.142 H 110.6°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#ECF079
RGBrgb(236, 240, 121)
HSLhsl(62, 80%, 71%)
HSVhsv(62, 50%, 94%)
CMYKcmyk(1.7%, 0%, 49.6%, 5.9%)
CIE-LABlab(92.37, -17.29, 56.45)
CIE-LCHlch(92.37, 59.03, 107.03°)
OKLaboklab(92.82% -0.0501 0.1333)
OKLCHoklch(92.82% 0.142 110.6)
XYZxyz(69.2048, 81.5350, 30.1777)
Luminance0.8153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF079 #7D79F0
analogous
#F0B879 #ECF079 #B0F079
triadic
#ECF079 #79ECF0 #F079EC
tetradic
#ECF079 #79F0B8 #7D79F0 #F079B0
square
#ECF079 #79F0B8 #7D79F0 #F079B0
split-complementary
#ECF079 #79B0F0 #B879F0
monochromatic
#D0D718 #E4EA42 #ECF079 #F4F6B0 #FBFCE3

Accessibility & contrast

On white

1.21
#ECF079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#ECF079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF079
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF079#FFFFFF#000000##000000
##ECF0791.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76E
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FAE4D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecf079;
/* rgb */ color: rgb(236, 240, 121);
/* oklch */ color: oklch(92.8% 0.142 110.6);
Tailwind
colors: {
  custom: {
    50: '#f4f4a2',
    500: '#ecf079',
    950: '#000000',
  },
}
SCSS
$custom: #ecf079;
$custom-light: #f4f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf079",
  "rgb": {
    "r": 236,
    "g": 240,
    "b": 121
  },
  "hsl": {
    "h": 62.017,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92821,
    "c": 0.14236,
    "h": 110.6
  },
  "luminance": 0.81534
}

Semantic roles & 50–950 ramp

primary
#ECF079
secondary
#4843CA
accent
#09DC10
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF079

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

Preview Lab → · Contrast checker → · Palette generator →

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