#F8D460#F8D460

#F8D460 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.9% C 0.139 H 92.0°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#F8D460
RGBrgb(248, 212, 96)
HSLhsl(46, 92%, 67%)
HSVhsv(46, 61%, 97%)
CMYKcmyk(0%, 14.5%, 61.3%, 2.7%)
CIE-LABlab(85.95, -0.36, 60.63)
CIE-LCHlch(85.95, 60.64, 90.34°)
OKLaboklab(87.89% -0.005 0.1393)
OKLCHoklch(87.89% 0.139 92)
XYZxyz(64.3692, 67.8914, 20.7779)
Luminance0.6789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D460 #6084F8
analogous
#F88860 #F8D460 #D0F860
triadic
#F8D460 #60F8D4 #D460F8
tetradic
#F8D460 #60F888 #6084F8 #F860D0
square
#F8D460 #60F888 #6084F8 #F860D0
split-complementary
#F8D460 #60D0F8 #8860F8
monochromatic
#D4A409 #F5C425 #F8D460 #FBE49B #FDF4D5

Accessibility & contrast

On white

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

On black

14.58
#F8D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D460
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D460#FFFFFF#000000##000000
##F8D4601.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D154
Deuteranopia (green-blind)
#F2DB65
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f8d460;
/* rgb */ color: rgb(248, 212, 96);
/* oklch */ color: oklch(87.9% 0.139 92.0);
Tailwind
colors: {
  custom: {
    50: '#fee091',
    500: '#f8d460',
    950: '#000000',
  },
}
SCSS
$custom: #f8d460;
$custom-light: #fee091;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d460",
  "rgb": {
    "r": 248,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 45.789,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87887,
    "c": 0.13943,
    "h": 92
  },
  "luminance": 0.67888
}

Semantic roles & 50–950 ramp

primary
#F8D460
secondary
#2D54CF
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D460

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

Preview Lab → · Contrast checker → · Palette generator →

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