#F6F174#F6F174

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

Color values

HEX#F6F174
RGBrgb(246, 241, 116)
HSLhsl(58, 88%, 71%)
HSVhsv(58, 53%, 96%)
CMYKcmyk(0%, 2%, 52.8%, 3.5%)
CIE-LABlab(93.35, -14.24, 60.06)
CIE-LCHlch(93.35, 61.72, 103.34°)
OKLaboklab(93.77% -0.0425 0.1405)
OKLCHoklch(93.77% 0.147 106.8)
XYZxyz(72.6157, 83.7665, 28.8630)
Luminance0.8376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F174 #7479F6
analogous
#F6B074 #F6F174 #BAF674
triadic
#F6F174 #74F6F1 #F174F6
tetradic
#F6F174 #74F6B0 #7479F6 #F674BA
square
#F6F174 #74F6B0 #7479F6 #F674BA
split-complementary
#F6F174 #74BAF6 #B074F6
monochromatic
#E1D90F #F2EB3B #F6F174 #FAF7AD #FDFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6F174#FFFFFF#000000##000000
##F6F1741.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)
#FFE968
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f174;
/* rgb */ color: rgb(246, 241, 116);
/* oklch */ color: oklch(93.8% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#fcf59f',
    500: '#f6f174',
    950: '#000000',
  },
}
SCSS
$custom: #f6f174;
$custom-light: #fcf59f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f174",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 57.692,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93773,
    "c": 0.14673,
    "h": 106.8
  },
  "luminance": 0.83764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6F174

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

Preview Lab → · Contrast checker → · Palette generator →

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