#F7EC71#F7EC71

#F7EC71 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.8% C 0.144 H 104.2°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#F7EC71
RGBrgb(247, 236, 113)
HSLhsl(55, 89%, 71%)
HSVhsv(55, 54%, 97%)
CMYKcmyk(0%, 4.5%, 54.3%, 3.1%)
CIE-LABlab(92.11, -11.62, 60.00)
CIE-LCHlch(92.11, 61.11, 100.96°)
OKLaboklab(92.8% -0.0353 0.14)
OKLCHoklch(92.8% 0.144 104.2)
XYZxyz(71.3361, 80.9597, 27.4887)
Luminance0.8096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC71 #717CF7
analogous
#F7A971 #F7EC71 #BFF771
triadic
#F7EC71 #71F7EC #EC71F7
tetradic
#F7EC71 #71F7A9 #717CF7 #F771BF
square
#F7EC71 #71F7A9 #717CF7 #F771BF
split-complementary
#F7EC71 #71BFF7 #A971F7
monochromatic
#E1D00D #F4E437 #F7EC71 #FAF4AB #FDFBE2

Accessibility & contrast

On white

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

On black

17.19
#F7EC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC71
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC71#FFFFFF#000000##000000
##F7EC711.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.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: #f7ec71;
/* rgb */ color: rgb(247, 236, 113);
/* oklch */ color: oklch(92.8% 0.144 104.2);
Tailwind
colors: {
  custom: {
    50: '#fcf19d',
    500: '#f7ec71',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec71;
$custom-light: #fcf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec71",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 55.075,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.928,
    "c": 0.14439,
    "h": 104.2
  },
  "luminance": 0.80957
}

Semantic roles & 50–950 ramp

primary
#F7EC71
secondary
#3A47D2
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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