#F8F06D#F8F06D

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

Color values

HEX#F8F06D
RGBrgb(248, 240, 109)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 3.2%, 56%, 2.7%)
CIE-LABlab(93.18, -13.48, 63.01)
CIE-LCHlch(93.18, 64.44, 102.08°)
OKLaboklab(93.66% -0.0411 0.146)
OKLCHoklch(93.66% 0.152 105.7)
XYZxyz(72.6341, 83.3831, 26.7335)
Luminance0.8338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F06D #6D75F8
analogous
#F8AB6D #F8F06D #BAF86D
triadic
#F8F06D #6DF8F0 #F06DF8
tetradic
#F8F06D #6DF8AB #6D75F8 #F86DBA
square
#F8F06D #6DF8AB #6D75F8 #F86DBA
split-complementary
#F8F06D #6DBAF8 #AB6DF8
monochromatic
#E0D40B #F5EA33 #F8F06D #FBF6A7 #FEFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F06D#FFFFFF#000000##000000
##F8F06D1.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)
#FFE85F
Deuteranopia (green-blind)
#FFEE74
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8f06d;
/* rgb */ color: rgb(248, 240, 109);
/* oklch */ color: oklch(93.7% 0.152 105.7);
Tailwind
colors: {
  custom: {
    50: '#fdf49b',
    500: '#f8f06d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f06d;
$custom-light: #fdf49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f06d",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 109
  },
  "hsl": {
    "h": 56.547,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.93656,
    "c": 0.1517,
    "h": 105.7
  },
  "luminance": 0.83381
}

Semantic roles & 50–950 ramp

primary
#F8F06D
secondary
#3740D2
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F06D

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

Preview Lab → · Contrast checker → · Palette generator →

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