#F6F178#F6F178

#F6F178 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.143 H 106.7°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F6F178
RGBrgb(246, 241, 120)
HSLhsl(58, 88%, 72%)
HSVhsv(58, 51%, 96%)
CMYKcmyk(0%, 2%, 51.2%, 3.5%)
CIE-LABlab(93.39, -13.92, 58.30)
CIE-LCHlch(93.39, 59.94, 103.43°)
OKLaboklab(93.82% -0.0411 0.137)
OKLCHoklch(93.82% 0.143 106.7)
XYZxyz(72.8534, 83.8615, 30.1149)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F178 #787DF6
analogous
#F6B278 #F6F178 #BCF678
triadic
#F6F178 #78F6F1 #F178F6
tetradic
#F6F178 #78F6B2 #787DF6 #F678BC
square
#F6F178 #78F6B2 #787DF6 #F678BC
split-complementary
#F6F178 #78BCF6 #B278F6
monochromatic
#E4DC0F #F2EB3F #F6F178 #FAF7B1 #FDFCE2

Accessibility & contrast

On white

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

On black

17.77
#F6F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F178
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F178#FFFFFF#000000##000000
##F6F1781.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96D
Deuteranopia (green-blind)
#FFEE7E
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f178;
/* rgb */ color: rgb(246, 241, 120);
/* oklch */ color: oklch(93.8% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#fbf5a2',
    500: '#f6f178',
    950: '#000000',
  },
}
SCSS
$custom: #f6f178;
$custom-light: #fbf5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f178",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 57.619,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93819,
    "c": 0.14308,
    "h": 106.7
  },
  "luminance": 0.83859
}

Semantic roles & 50–950 ramp

primary
#F6F178
secondary
#4147D1
accent
#0AE401
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F178

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

Preview Lab → · Contrast checker → · Palette generator →

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