#F1F178#F1F178

#F1F178 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.4% C 0.144 H 108.9°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#F1F178
RGBrgb(241, 241, 120)
HSLhsl(60, 81%, 71%)
HSVhsv(60, 50%, 95%)
CMYKcmyk(0%, 0%, 50.2%, 5.5%)
CIE-LABlab(93.00, -15.90, 57.74)
CIE-LCHlch(93.00, 59.89, 105.39°)
OKLaboklab(93.41% -0.0465 0.1359)
OKLCHoklch(93.41% 0.144 108.9)
XYZxyz(71.1228, 82.9692, 30.0337)
Luminance0.8297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F178 #7878F1
analogous
#F1B478 #F1F178 #B4F178
triadic
#F1F178 #78F1F1 #F178F1
tetradic
#F1F178 #78F1B4 #7878F1 #F178B4
square
#F1F178 #78F1B4 #7878F1 #F178B4
split-complementary
#F1F178 #78B4F1 #B478F1
monochromatic
#D8D816 #EBEB41 #F1F178 #F7F7AF #FCFCE3

Accessibility & contrast

On white

1.19
#F1F178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.59
#F1F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F178
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F178#FFFFFF#000000##000000
##F1F1781.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f1f178;
/* rgb */ color: rgb(241, 241, 120);
/* oklch */ color: oklch(93.4% 0.144 108.9);
Tailwind
colors: {
  custom: {
    50: '#f8f5a2',
    500: '#f1f178',
    950: '#000000',
  },
}
SCSS
$custom: #f1f178;
$custom-light: #f8f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f178",
  "rgb": {
    "r": 241,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93414,
    "c": 0.14364,
    "h": 108.9
  },
  "luminance": 0.82967
}

Semantic roles & 50–950 ramp

primary
#F1F178
secondary
#4242CB
accent
#08DE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F1F178

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

Preview Lab → · Contrast checker → · Palette generator →

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