#F6F176#F6F176

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

Color values

HEX#F6F176
RGBrgb(246, 241, 118)
HSLhsl(58, 88%, 71%)
HSVhsv(58, 52%, 96%)
CMYKcmyk(0%, 2%, 52%, 3.5%)
CIE-LABlab(93.37, -14.08, 59.18)
CIE-LCHlch(93.37, 60.83, 103.39°)
OKLaboklab(93.8% -0.0418 0.1388)
OKLCHoklch(93.8% 0.145 106.8)
XYZxyz(72.7333, 83.8135, 29.4823)
Luminance0.8381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F176 #767BF6
analogous
#F6B176 #F6F176 #BBF676
triadic
#F6F176 #76F6F1 #F176F6
tetradic
#F6F176 #76F6B1 #767BF6 #F676BB
square
#F6F176 #76F6B1 #767BF6 #F676BB
split-complementary
#F6F176 #76BBF6 #B176F6
monochromatic
#E3DA0F #F2EB3D #F6F176 #FAF7AF #FDFCE2

Accessibility & contrast

On white

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

On black

17.76
#F6F176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F176
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F176#FFFFFF#000000##000000
##F6F1761.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96A
Deuteranopia (green-blind)
#FFEE7C
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f176;
/* rgb */ color: rgb(246, 241, 118);
/* oklch */ color: oklch(93.8% 0.145 106.8);
Tailwind
colors: {
  custom: {
    50: '#fbf5a1',
    500: '#f6f176',
    950: '#000000',
  },
}
SCSS
$custom: #f6f176;
$custom-light: #fbf5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f176",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 118
  },
  "hsl": {
    "h": 57.656,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93796,
    "c": 0.14492,
    "h": 106.8
  },
  "luminance": 0.83811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F6F176

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

Preview Lab → · Contrast checker → · Palette generator →

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