#F8F06B#F8F06B

#F8F06B is a very light, vivid yellow. Relative luminance 0.833; 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#F8F06B
RGBrgb(248, 240, 107)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 57%, 97%)
CMYKcmyk(0%, 3.2%, 56.9%, 2.7%)
CIE-LABlab(93.16, -13.63, 63.86)
CIE-LCHlch(93.16, 65.30, 102.05°)
OKLaboklab(93.64% -0.0418 0.1476)
OKLCHoklch(93.64% 0.153 105.8)
XYZxyz(72.5276, 83.3405, 26.1729)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F06B #6B73F8
analogous
#F8AA6B #F8F06B #B9F86B
triadic
#F8F06B #6BF8F0 #F06BF8
tetradic
#F8F06B #6BF8AA #6B73F8 #F86BB9
square
#F8F06B #6BF8AA #6B73F8 #F86BB9
split-complementary
#F8F06B #6BB9F8 #AA6BF8
monochromatic
#DED20B #F5EA31 #F8F06B #FBF6A5 #FEFCE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F06B#FFFFFF#000000##000000
##F8F06B1.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)
#FFE85D
Deuteranopia (green-blind)
#FFEE72
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8f06b;
/* rgb */ color: rgb(248, 240, 107);
/* oklch */ color: oklch(93.6% 0.153 105.8);
Tailwind
colors: {
  custom: {
    50: '#fdf49a',
    500: '#f8f06b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f06b;
$custom-light: #fdf49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f06b",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 56.596,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93636,
    "c": 0.15339,
    "h": 105.8
  },
  "luminance": 0.83338
}

Semantic roles & 50–950 ramp

primary
#F8F06B
secondary
#353ED2
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F06B

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

Preview Lab → · Contrast checker → · Palette generator →

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