#F8F06F#F8F06F

#F8F06F is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.7% C 0.150 H 105.7°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#F8F06F
RGBrgb(248, 240, 111)
HSLhsl(56, 91%, 70%)
HSVhsv(56, 55%, 97%)
CMYKcmyk(0%, 3.2%, 55.2%, 2.7%)
CIE-LABlab(93.20, -13.34, 62.15)
CIE-LCHlch(93.20, 63.57, 102.11°)
OKLaboklab(93.68% -0.0405 0.1444)
OKLCHoklch(93.68% 0.15 105.7)
XYZxyz(72.7429, 83.4266, 27.3070)
Luminance0.8342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F06F #6F77F8
analogous
#F8AB6F #F8F06F #BCF86F
triadic
#F8F06F #6FF8F0 #F06FF8
tetradic
#F8F06F #6FF8AB #6F77F8 #F86FBC
square
#F8F06F #6FF8AB #6F77F8 #F86FBC
split-complementary
#F8F06F #6FBCF8 #AB6FF8
monochromatic
#E2D50B #F5EA35 #F8F06F #FBF6A9 #FEFCE2

Accessibility & contrast

On white

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

On black

17.68
#F8F06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F06F
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F06F#FFFFFF#000000##000000
##F8F06F1.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFEE76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8f06f;
/* rgb */ color: rgb(248, 240, 111);
/* oklch */ color: oklch(93.7% 0.150 105.7);
Tailwind
colors: {
  custom: {
    50: '#fdf49c',
    500: '#f8f06f',
    950: '#000000',
  },
}
SCSS
$custom: #f8f06f;
$custom-light: #fdf49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f06f",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 56.496,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93678,
    "c": 0.14998,
    "h": 105.7
  },
  "luminance": 0.83424
}

Semantic roles & 50–950 ramp

primary
#F8F06F
secondary
#3842D3
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F06F

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

Preview Lab → · Contrast checker → · Palette generator →

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