#F8F46A#F8F46A

#F8F46A is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.158 H 107.5°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#F8F46A
RGBrgb(248, 244, 106)
HSLhsl(58, 91%, 69%)
HSVhsv(58, 57%, 97%)
CMYKcmyk(0%, 1.6%, 57.3%, 2.7%)
CIE-LABlab(94.18, -15.65, 65.43)
CIE-LCHlch(94.18, 67.27, 103.45°)
OKLaboklab(94.45% -0.0476 0.1508)
OKLCHoklch(94.45% 0.158 107.5)
XYZxyz(73.6658, 85.7006, 26.2943)
Luminance0.8570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F46A #6A6EF8
analogous
#F8AD6A #F8F46A #B5F86A
triadic
#F8F46A #6AF8F4 #F46AF8
tetradic
#F8F46A #6AF8AD #6A6EF8 #F86AB5
square
#F8F46A #6AF8AD #6A6EF8 #F86AB5
split-complementary
#F8F46A #6AB5F8 #AD6AF8
monochromatic
#DDD70A #F5F030 #F8F46A #FBF8A4 #FDFDDF

Accessibility & contrast

On white

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

On black

18.14
#F8F46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F46A
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F46A#FFFFFF#000000##000000
##F8F46A1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5B
Deuteranopia (green-blind)
#FFF172
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f46a;
/* rgb */ color: rgb(248, 244, 106);
/* oklch */ color: oklch(94.4% 0.158 107.5);
Tailwind
colors: {
  custom: {
    50: '#fdf799',
    500: '#f8f46a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f46a;
$custom-light: #fdf799;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f46a",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 106
  },
  "hsl": {
    "h": 58.31,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94445,
    "c": 0.15816,
    "h": 107.5
  },
  "luminance": 0.85698
}

Semantic roles & 50–950 ramp

primary
#F8F46A
secondary
#3439D2
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F46A

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

Preview Lab → · Contrast checker → · Palette generator →

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