#F6F772#F6F772

#F6F772 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.155 H 109.4°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#F6F772
RGBrgb(246, 247, 114)
HSLhsl(60, 89%, 71%)
HSVhsv(60, 54%, 97%)
CMYKcmyk(0.4%, 0%, 53.8%, 3.1%)
CIE-LABlab(94.88, -17.32, 62.70)
CIE-LCHlch(94.88, 65.05, 105.44°)
OKLaboklab(94.99% -0.0514 0.1459)
OKLCHoklch(94.99% 0.155 109.4)
XYZxyz(74.3060, 87.3311, 28.8587)
Luminance0.8733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F772 #7372F7
analogous
#F7B572 #F6F772 #B3F772
triadic
#F6F772 #72F6F7 #F772F6
tetradic
#F6F772 #72F7B5 #7372F7 #F772B3
square
#F6F772 #72F7B5 #7372F7 #F772B3
split-complementary
#F6F772 #72B3F7 #B572F7
monochromatic
#E0E20D #F2F438 #F6F772 #FAFAAC #FDFDE2

Accessibility & contrast

On white

1.14
#F6F772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#F6F772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F772
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F772#FFFFFF#000000##000000
##F6F7721.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE64
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f6f772;
/* rgb */ color: rgb(246, 247, 114);
/* oklch */ color: oklch(95.0% 0.155 109.4);
Tailwind
colors: {
  custom: {
    50: '#fcf99e',
    500: '#f6f772',
    950: '#000000',
  },
}
SCSS
$custom: #f6f772;
$custom-light: #fcf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f772",
  "rgb": {
    "r": 246,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 60.451,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94985,
    "c": 0.15473,
    "h": 109.4
  },
  "luminance": 0.87329
}

Semantic roles & 50–950 ramp

primary
#F6F772
secondary
#3C3BD2
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F772

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

Preview Lab → · Contrast checker → · Palette generator →

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