#F8F06C#F8F06C

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

Color values

HEX#F8F06C
RGBrgb(248, 240, 108)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 3.2%, 56.5%, 2.7%)
CIE-LABlab(93.17, -13.56, 63.43)
CIE-LCHlch(93.17, 64.87, 102.06°)
OKLaboklab(93.65% -0.0415 0.1468)
OKLCHoklch(93.65% 0.153 105.8)
XYZxyz(72.5805, 83.3616, 26.4516)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F06C #6C74F8
analogous
#F8AA6C #F8F06C #BAF86C
triadic
#F8F06C #6CF8F0 #F06CF8
tetradic
#F8F06C #6CF8AA #6C74F8 #F86CBA
square
#F8F06C #6CF8AA #6C74F8 #F86CBA
split-complementary
#F8F06C #6CBAF8 #AA6CF8
monochromatic
#DFD30B #F5EA32 #F8F06C #FBF6A6 #FEFCE1

Accessibility & contrast

On white

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

On black

17.67
#F8F06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F06C
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F06C#FFFFFF#000000##000000
##F8F06C1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f06c;
/* rgb */ color: rgb(248, 240, 108);
/* oklch */ color: oklch(93.6% 0.153 105.8);
Tailwind
colors: {
  custom: {
    50: '#fdf49a',
    500: '#f8f06c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f06c;
$custom-light: #fdf49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f06c",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 108
  },
  "hsl": {
    "h": 56.571,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93646,
    "c": 0.15255,
    "h": 105.8
  },
  "luminance": 0.83359
}

Semantic roles & 50–950 ramp

primary
#F8F06C
secondary
#363FD2
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F06C

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

Preview Lab → · Contrast checker → · Palette generator →

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