#F8F06A#F8F06A

#F8F06A is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.6% C 0.154 H 105.8°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#F8F06A
RGBrgb(248, 240, 106)
HSLhsl(57, 91%, 69%)
HSVhsv(57, 57%, 97%)
CMYKcmyk(0%, 3.2%, 57.3%, 2.7%)
CIE-LABlab(93.15, -13.70, 64.28)
CIE-LCHlch(93.15, 65.72, 102.03°)
OKLaboklab(93.63% -0.0421 0.1484)
OKLCHoklch(93.63% 0.154 105.8)
XYZxyz(72.4753, 83.3196, 25.8974)
Luminance0.8332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F06A #6A72F8
analogous
#F8A96A #F8F06A #B9F86A
triadic
#F8F06A #6AF8F0 #F06AF8
tetradic
#F8F06A #6AF8A9 #6A72F8 #F86AB9
square
#F8F06A #6AF8A9 #6A72F8 #F86AB9
split-complementary
#F8F06A #6AB9F8 #A96AF8
monochromatic
#DDD10A #F5EA30 #F8F06A #FBF6A4 #FDFCDF

Accessibility & contrast

On white

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

On black

17.66
#F8F06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F06A
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F06A#FFFFFF#000000##000000
##F8F06A1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85C
Deuteranopia (green-blind)
#FFEE71
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8f06a;
/* rgb */ color: rgb(248, 240, 106);
/* oklch */ color: oklch(93.6% 0.154 105.8);
Tailwind
colors: {
  custom: {
    50: '#fdf499',
    500: '#f8f06a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f06a;
$custom-light: #fdf499;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f06a",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 106
  },
  "hsl": {
    "h": 56.62,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93625,
    "c": 0.15423,
    "h": 105.8
  },
  "luminance": 0.83317
}

Semantic roles & 50–950 ramp

primary
#F8F06A
secondary
#343DD2
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F06A

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

Preview Lab → · Contrast checker → · Palette generator →

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