#F8F461#F8F461

#F8F461 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.4% C 0.165 H 107.7°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#F8F461
RGBrgb(248, 244, 97)
HSLhsl(58, 92%, 68%)
HSVhsv(58, 61%, 97%)
CMYKcmyk(0%, 1.6%, 60.9%, 2.7%)
CIE-LABlab(94.11, -16.25, 69.10)
CIE-LCHlch(94.11, 70.98, 103.23°)
OKLaboklab(94.36% -0.0503 0.1575)
OKLCHoklch(94.36% 0.165 107.7)
XYZxyz(73.2221, 85.5231, 23.9575)
Luminance0.8552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F461 #6165F8
analogous
#F8A961 #F8F461 #B0F861
triadic
#F8F461 #61F8F4 #F461F8
tetradic
#F8F461 #61F8A9 #6165F8 #F861B0
square
#F8F461 #61F8A9 #6165F8 #F861B0
split-complementary
#F8F461 #61B0F8 #A961F8
monochromatic
#D5D009 #F5F026 #F8F461 #FBF89C #FDFCD6

Accessibility & contrast

On white

1.16
#F8F461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#F8F461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F461
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F461#FFFFFF#000000##000000
##F8F4611.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4F
Deuteranopia (green-blind)
#FFF16A
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f461;
/* rgb */ color: rgb(248, 244, 97);
/* oklch */ color: oklch(94.4% 0.165 107.7);
Tailwind
colors: {
  custom: {
    50: '#fef794',
    500: '#f8f461',
    950: '#000000',
  },
}
SCSS
$custom: #f8f461;
$custom-light: #fef794;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f461",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 97
  },
  "hsl": {
    "h": 58.411,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9436,
    "c": 0.1653,
    "h": 107.7
  },
  "luminance": 0.85521
}

Semantic roles & 50–950 ramp

primary
#F8F461
secondary
#2D32D0
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F461

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

Preview Lab → · Contrast checker → · Palette generator →

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