#F7EC72#F7EC72

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

Color values

HEX#F7EC72
RGBrgb(247, 236, 114)
HSLhsl(55, 89%, 71%)
HSVhsv(55, 54%, 97%)
CMYKcmyk(0%, 4.5%, 53.8%, 3.1%)
CIE-LABlab(92.12, -11.54, 59.56)
CIE-LCHlch(92.12, 60.67, 100.97°)
OKLaboklab(92.81% -0.035 0.1392)
OKLCHoklch(92.81% 0.144 104.1)
XYZxyz(71.3927, 80.9823, 27.7868)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC72 #727DF7
analogous
#F7A972 #F7EC72 #BFF772
triadic
#F7EC72 #72F7EC #EC72F7
tetradic
#F7EC72 #72F7A9 #727DF7 #F772BF
square
#F7EC72 #72F7A9 #727DF7 #F772BF
split-complementary
#F7EC72 #72BFF7 #A972F7
monochromatic
#E2D00D #F4E438 #F7EC72 #FAF4AC #FDFBE2

Accessibility & contrast

On white

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

On black

17.20
#F7EC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC72
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC72#FFFFFF#000000##000000
##F7EC721.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.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: #f7ec72;
/* rgb */ color: rgb(247, 236, 114);
/* oklch */ color: oklch(92.8% 0.143 104.1);
Tailwind
colors: {
  custom: {
    50: '#fcf19e',
    500: '#f7ec72',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec72;
$custom-light: #fcf19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec72",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 114
  },
  "hsl": {
    "h": 55.038,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92811,
    "c": 0.1435,
    "h": 104.1
  },
  "luminance": 0.8098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7EC72

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

Preview Lab → · Contrast checker → · Palette generator →

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