#F8F161#F8F161

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

Color values

HEX#F8F161
RGBrgb(248, 241, 97)
HSLhsl(57, 92%, 68%)
HSVhsv(57, 61%, 97%)
CMYKcmyk(0%, 2.8%, 60.9%, 2.7%)
CIE-LABlab(93.33, -14.79, 68.27)
CIE-LCHlch(93.33, 69.85, 102.22°)
OKLaboklab(93.74% -0.0461 0.1557)
OKLCHoklch(93.74% 0.162 106.5)
XYZxyz(72.3268, 83.7325, 23.6590)
Luminance0.8373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F161 #6168F8
analogous
#F8A661 #F8F161 #B3F861
triadic
#F8F161 #61F8F1 #F161F8
tetradic
#F8F161 #61F8A6 #6168F8 #F861B3
square
#F8F161 #61F8A6 #6168F8 #F861B3
split-complementary
#F8F161 #61B3F8 #A661F8
monochromatic
#D5CC09 #F5EC26 #F8F161 #FBF69C #FDFBD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F161#FFFFFF#000000##000000
##F8F1611.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)
#FFE950
Deuteranopia (green-blind)
#FFEF69
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8f161;
/* rgb */ color: rgb(248, 241, 97);
/* oklch */ color: oklch(93.7% 0.162 106.5);
Tailwind
colors: {
  custom: {
    50: '#fef594',
    500: '#f8f161',
    950: '#000000',
  },
}
SCSS
$custom: #f8f161;
$custom-light: #fef594;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f161",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 97
  },
  "hsl": {
    "h": 57.219,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93744,
    "c": 0.1624,
    "h": 106.5
  },
  "luminance": 0.8373
}

Semantic roles & 50–950 ramp

primary
#F8F161
secondary
#2D35D0
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F161

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

Preview Lab → · Contrast checker → · Palette generator →

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