#F6EC71#F6EC71

#F6EC71 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#F6EC71
RGBrgb(246, 236, 113)
HSLhsl(55, 88%, 70%)
HSVhsv(55, 54%, 96%)
CMYKcmyk(0%, 4.1%, 54.1%, 3.5%)
CIE-LABlab(92.03, -12.02, 59.88)
CIE-LCHlch(92.03, 61.08, 101.35°)
OKLaboklab(92.72% -0.0364 0.1398)
OKLCHoklch(92.72% 0.144 104.6)
XYZxyz(70.9843, 80.7783, 27.4722)
Luminance0.8078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC71 #717BF6
analogous
#F6AA71 #F6EC71 #BDF671
triadic
#F6EC71 #71F6EC #EC71F6
tetradic
#F6EC71 #71F6AA #717BF6 #F671BD
square
#F6EC71 #71F6AA #717BF6 #F671BD
split-complementary
#F6EC71 #71BDF6 #AA71F6
monochromatic
#DECF0E #F2E437 #F6EC71 #FAF4AB #FDFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6EC71#FFFFFF#000000##000000
##F6EC711.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)
#FEE565
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6ec71;
/* rgb */ color: rgb(246, 236, 113);
/* oklch */ color: oklch(92.7% 0.144 104.6);
Tailwind
colors: {
  custom: {
    50: '#fcf19d',
    500: '#f6ec71',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec71;
$custom-light: #fcf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec71",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 55.489,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92716,
    "c": 0.14445,
    "h": 104.6
  },
  "luminance": 0.80776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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