#F6F173#F6F173

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

Color values

HEX#F6F173
RGBrgb(246, 241, 115)
HSLhsl(58, 88%, 71%)
HSVhsv(58, 53%, 96%)
CMYKcmyk(0%, 2%, 53.3%, 3.5%)
CIE-LABlab(93.34, -14.32, 60.49)
CIE-LCHlch(93.34, 62.16, 103.32°)
OKLaboklab(93.76% -0.0428 0.1413)
OKLCHoklch(93.76% 0.148 106.8)
XYZxyz(72.5579, 83.7433, 28.5583)
Luminance0.8374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F173 #7378F6
analogous
#F6AF73 #F6F173 #B9F673
triadic
#F6F173 #73F6F1 #F173F6
tetradic
#F6F173 #73F6AF #7378F6 #F673B9
square
#F6F173 #73F6AF #7378F6 #F673B9
split-complementary
#F6F173 #73B9F6 #AF73F6
monochromatic
#E0D80E #F2EB39 #F6F173 #FAF7AD #FDFCE2

Accessibility & contrast

On white

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

On black

17.75
#F6F173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F173
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F173#FFFFFF#000000##000000
##F6F1731.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f173;
/* rgb */ color: rgb(246, 241, 115);
/* oklch */ color: oklch(93.8% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#fcf59f',
    500: '#f6f173',
    950: '#000000',
  },
}
SCSS
$custom: #f6f173;
$custom-light: #fcf59f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f173",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 115
  },
  "hsl": {
    "h": 57.71,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93762,
    "c": 0.14763,
    "h": 106.8
  },
  "luminance": 0.83741
}

Semantic roles & 50–950 ramp

primary
#F6F173
secondary
#3D42D1
accent
#0AE401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F173

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

Preview Lab → · Contrast checker → · Palette generator →

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