#F6F170#F6F170

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

Color values

HEX#F6F170
RGBrgb(246, 241, 112)
HSLhsl(58, 88%, 70%)
HSVhsv(58, 54%, 96%)
CMYKcmyk(0%, 2%, 54.5%, 3.5%)
CIE-LABlab(93.31, -14.55, 61.79)
CIE-LCHlch(93.31, 63.48, 103.25°)
OKLaboklab(93.73% -0.0438 0.1438)
OKLCHoklch(93.73% 0.15 106.9)
XYZxyz(72.3880, 83.6754, 27.6639)
Luminance0.8367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F170 #7075F6
analogous
#F6AE70 #F6F170 #B8F670
triadic
#F6F170 #70F6F1 #F170F6
tetradic
#F6F170 #70F6AE #7075F6 #F670B8
square
#F6F170 #70F6AE #7075F6 #F670B8
split-complementary
#F6F170 #70B8F6 #AE70F6
monochromatic
#DED60E #F2EB36 #F6F170 #FAF7AA #FDFCE2

Accessibility & contrast

On white

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

On black

17.73
#F6F170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F170
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F170#FFFFFF#000000##000000
##F6F1701.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE963
Deuteranopia (green-blind)
#FFEE77
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f170;
/* rgb */ color: rgb(246, 241, 112);
/* oklch */ color: oklch(93.7% 0.150 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf59d',
    500: '#f6f170',
    950: '#000000',
  },
}
SCSS
$custom: #f6f170;
$custom-light: #fcf59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f170",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 57.761,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93729,
    "c": 0.15028,
    "h": 106.9
  },
  "luminance": 0.83673
}

Semantic roles & 50–950 ramp

primary
#F6F170
secondary
#3A3FD0
accent
#09E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F170

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

Preview Lab → · Contrast checker → · Palette generator →

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