#F8D466#F8D466

#F8D466 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 88.0% C 0.135 H 91.3°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#F8D466
RGBrgb(248, 212, 102)
HSLhsl(45, 91%, 69%)
HSVhsv(45, 59%, 97%)
CMYKcmyk(0%, 14.5%, 58.9%, 2.7%)
CIE-LABlab(86.01, 0.04, 58.01)
CIE-LCHlch(86.01, 58.01, 89.96°)
OKLaboklab(87.95% -0.0031 0.1345)
OKLCHoklch(87.95% 0.135 91.3)
XYZxyz(64.6560, 68.0061, 22.2887)
Luminance0.6800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D466 #668AF8
analogous
#F88B66 #F8D466 #D3F866
triadic
#F8D466 #66F8D4 #D466F8
tetradic
#F8D466 #66F88B #668AF8 #F866D3
square
#F8D466 #66F88B #668AF8 #F866D3
split-complementary
#F8D466 #66D3F8 #8B66F8
monochromatic
#DAA60A #F5C42B #F8D466 #FBE4A1 #FDF5DB

Accessibility & contrast

On white

1.44
#F8D466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#F8D466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D466
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D466#FFFFFF#000000##000000
##F8D4661.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#F1DB6B
Tritanopia (blue-blind)
#FFC5BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d466;
/* rgb */ color: rgb(248, 212, 102);
/* oklch */ color: oklch(88.0% 0.135 91.3);
Tailwind
colors: {
  custom: {
    50: '#fee095',
    500: '#f8d466',
    950: '#000000',
  },
}
SCSS
$custom: #f8d466;
$custom-light: #fee095;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d466",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 102
  },
  "hsl": {
    "h": 45.205,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87951,
    "c": 0.13451,
    "h": 91.3
  },
  "luminance": 0.68003
}

Semantic roles & 50–950 ramp

primary
#F8D466
secondary
#3158D2
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D466

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

Preview Lab → · Contrast checker → · Palette generator →

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