#F6F672#F6F672

#F6F672 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.8% C 0.154 H 109.0°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F6F672
RGBrgb(246, 246, 114)
HSLhsl(60, 88%, 71%)
HSVhsv(60, 54%, 96%)
CMYKcmyk(0%, 0%, 53.7%, 3.5%)
CIE-LABlab(94.62, -16.83, 62.40)
CIE-LCHlch(94.62, 64.64, 105.10°)
OKLaboklab(94.78% -0.05 0.1453)
OKLCHoklch(94.78% 0.154 109)
XYZxyz(74.0010, 86.7212, 28.7570)
Luminance0.8672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F672 #7272F6
analogous
#F6B472 #F6F672 #B4F672
triadic
#F6F672 #72F6F6 #F672F6
tetradic
#F6F672 #72F6B4 #7272F6 #F672B4
square
#F6F672 #72F6B4 #7272F6 #F672B4
split-complementary
#F6F672 #72B4F6 #B472F6
monochromatic
#DFDF0E #F2F238 #F6F672 #FAFAAC #FDFDE2

Accessibility & contrast

On white

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

On black

18.34
#F6F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F672
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F672#FFFFFF#000000##000000
##F6F6721.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED65
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f6f672;
/* rgb */ color: rgb(246, 246, 114);
/* oklch */ color: oklch(94.8% 0.154 109.0);
Tailwind
colors: {
  custom: {
    50: '#fcf99e',
    500: '#f6f672',
    950: '#000000',
  },
}
SCSS
$custom: #f6f672;
$custom-light: #fcf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f672",
  "rgb": {
    "r": 246,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 60,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94779,
    "c": 0.15368,
    "h": 109
  },
  "luminance": 0.86719
}

Semantic roles & 50–950 ramp

primary
#F6F672
secondary
#3C3CD1
accent
#01E501
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F672

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

Preview Lab → · Contrast checker → · Palette generator →

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