#F6EC72#F6EC72

#F6EC72 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.7% C 0.144 H 104.6°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F6EC72
RGBrgb(246, 236, 114)
HSLhsl(55, 88%, 71%)
HSVhsv(55, 54%, 96%)
CMYKcmyk(0%, 4.1%, 53.7%, 3.5%)
CIE-LABlab(92.04, -11.94, 59.45)
CIE-LCHlch(92.04, 60.63, 101.36°)
OKLaboklab(92.73% -0.0361 0.1389)
OKLCHoklch(92.73% 0.144 104.6)
XYZxyz(71.0409, 80.8009, 27.7703)
Luminance0.8080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC72 #727CF6
analogous
#F6AA72 #F6EC72 #BEF672
triadic
#F6EC72 #72F6EC #EC72F6
tetradic
#F6EC72 #72F6AA #727CF6 #F672BE
square
#F6EC72 #72F6AA #727CF6 #F672BE
split-complementary
#F6EC72 #72BEF6 #AA72F6
monochromatic
#DFD00E #F2E438 #F6EC72 #FAF4AC #FDFBE2

Accessibility & contrast

On white

1.22
#F6EC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#F6EC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EC72
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EC72#FFFFFF#000000##000000
##F6EC721.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6ec72;
/* rgb */ color: rgb(246, 236, 114);
/* oklch */ color: oklch(92.7% 0.144 104.6);
Tailwind
colors: {
  custom: {
    50: '#fcf19e',
    500: '#f6ec72',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec72;
$custom-light: #fcf19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec72",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 114
  },
  "hsl": {
    "h": 55.455,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92728,
    "c": 0.14355,
    "h": 104.6
  },
  "luminance": 0.80799
}

Semantic roles & 50–950 ramp

primary
#F6EC72
secondary
#3C47D1
accent
#12E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F6EC72

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

Preview Lab → · Contrast checker → · Palette generator →

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