#F6F172#F6F172

#F6F172 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.8% C 0.149 H 106.9°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F6F172
RGBrgb(246, 241, 114)
HSLhsl(58, 88%, 71%)
HSVhsv(58, 54%, 96%)
CMYKcmyk(0%, 2%, 53.7%, 3.5%)
CIE-LABlab(93.33, -14.40, 60.93)
CIE-LCHlch(93.33, 62.61, 103.30°)
OKLaboklab(93.75% -0.0431 0.1421)
OKLCHoklch(93.75% 0.149 106.9)
XYZxyz(72.5006, 83.7204, 28.2569)
Luminance0.8372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F172 #7277F6
analogous
#F6AF72 #F6F172 #B9F672
triadic
#F6F172 #72F6F1 #F172F6
tetradic
#F6F172 #72F6AF #7277F6 #F672B9
square
#F6F172 #72F6AF #7277F6 #F672B9
split-complementary
#F6F172 #72B9F6 #AF72F6
monochromatic
#DFD70E #F2EB38 #F6F172 #FAF7AC #FDFCE2

Accessibility & contrast

On white

1.18
#F6F172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#F6F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F172
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F172#FFFFFF#000000##000000
##F6F1721.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f172;
/* rgb */ color: rgb(246, 241, 114);
/* oklch */ color: oklch(93.8% 0.149 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf59e',
    500: '#f6f172',
    950: '#000000',
  },
}
SCSS
$custom: #f6f172;
$custom-light: #fcf59e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f172",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 57.727,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9375,
    "c": 0.14853,
    "h": 106.9
  },
  "luminance": 0.83718
}

Semantic roles & 50–950 ramp

primary
#F6F172
secondary
#3C41D1
accent
#0AE501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F172

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

Preview Lab → · Contrast checker → · Palette generator →

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