#F8F361#F8F361

#F8F361 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.164 H 107.3°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F8F361
RGBrgb(248, 243, 97)
HSLhsl(58, 92%, 68%)
HSVhsv(58, 61%, 97%)
CMYKcmyk(0%, 2%, 60.9%, 2.7%)
CIE-LABlab(93.85, -15.76, 68.82)
CIE-LCHlch(93.85, 70.60, 102.90°)
OKLaboklab(94.16% -0.0489 0.1569)
OKLCHoklch(94.16% 0.164 107.3)
XYZxyz(72.9221, 84.9230, 23.8574)
Luminance0.8492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F361 #6166F8
analogous
#F8A761 #F8F361 #B2F861
triadic
#F8F361 #61F8F3 #F361F8
tetradic
#F8F361 #61F8A7 #6166F8 #F861B2
square
#F8F361 #61F8A7 #6166F8 #F861B2
split-complementary
#F8F361 #61B2F8 #A761F8
monochromatic
#D5CE09 #F5EF26 #F8F361 #FBF79C #FDFCD6

Accessibility & contrast

On white

1.17
#F8F361 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#F8F361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F361
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F361#FFFFFF#000000##000000
##F8F3611.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4F
Deuteranopia (green-blind)
#FFF06A
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f361;
/* rgb */ color: rgb(248, 243, 97);
/* oklch */ color: oklch(94.2% 0.164 107.3);
Tailwind
colors: {
  custom: {
    50: '#fef694',
    500: '#f8f361',
    950: '#000000',
  },
}
SCSS
$custom: #f8f361;
$custom-light: #fef694;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f361",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 97
  },
  "hsl": {
    "h": 58.013,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94155,
    "c": 0.16432,
    "h": 107.3
  },
  "luminance": 0.84921
}

Semantic roles & 50–950 ramp

primary
#F8F361
secondary
#2D33D0
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F361

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

Preview Lab → · Contrast checker → · Palette generator →

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