#F8F06E#F8F06E

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

Color values

HEX#F8F06E
RGBrgb(248, 240, 110)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 3.2%, 55.6%, 2.7%)
CIE-LABlab(93.19, -13.41, 62.58)
CIE-LCHlch(93.19, 64.00, 102.10°)
OKLaboklab(93.67% -0.0408 0.1452)
OKLCHoklch(93.67% 0.151 105.7)
XYZxyz(72.6882, 83.4047, 27.0186)
Luminance0.8340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F06E #6E76F8
analogous
#F8AB6E #F8F06E #BBF86E
triadic
#F8F06E #6EF8F0 #F06EF8
tetradic
#F8F06E #6EF8AB #6E76F8 #F86EBB
square
#F8F06E #6EF8AB #6E76F8 #F86EBB
split-complementary
#F8F06E #6EBBF8 #AB6EF8
monochromatic
#E1D40B #F5EA34 #F8F06E #FBF6A8 #FEFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F06E#FFFFFF#000000##000000
##F8F06E1.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)
#FFE861
Deuteranopia (green-blind)
#FFEE75
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8f06e;
/* rgb */ color: rgb(248, 240, 110);
/* oklch */ color: oklch(93.7% 0.151 105.7);
Tailwind
colors: {
  custom: {
    50: '#fdf49c',
    500: '#f8f06e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f06e;
$custom-light: #fdf49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f06e",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 110
  },
  "hsl": {
    "h": 56.522,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93667,
    "c": 0.15084,
    "h": 105.7
  },
  "luminance": 0.83402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F06E

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

Preview Lab → · Contrast checker → · Palette generator →

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