#F8D84F#F8D84F

#F8D84F is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.155 H 95.8°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#F8D84F
RGBrgb(248, 216, 79)
HSLhsl(49, 92%, 64%)
HSVhsv(49, 68%, 97%)
CMYKcmyk(0%, 12.9%, 68.1%, 2.7%)
CIE-LABlab(86.82, -3.39, 68.68)
CIE-LCHlch(86.82, 68.76, 92.82°)
OKLaboklab(88.53% -0.0156 0.1539)
OKLCHoklch(88.53% 0.155 95.8)
XYZxyz(64.6817, 69.6361, 17.4298)
Luminance0.6963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D84F #4F6FF8
analogous
#F8844F #F8D84F #C4F84F
triadic
#F8D84F #4FF8D8 #D84FF8
tetradic
#F8D84F #4FF884 #4F6FF8 #F84FC4
square
#F8D84F #4FF884 #4F6FF8 #F84FC4
split-complementary
#F8D84F #4FC4F8 #844FF8
monochromatic
#C5A108 #F6CB14 #F8D84F #FAE58A #FDF2C5

Accessibility & contrast

On white

1.41
#F8D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#F8D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D84F
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D84F#FFFFFF#000000##000000
##F8D84F1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD43C
Deuteranopia (green-blind)
#F6DE56
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d84f;
/* rgb */ color: rgb(248, 216, 79);
/* oklch */ color: oklch(88.5% 0.155 95.8);
Tailwind
colors: {
  custom: {
    50: '#fee387',
    500: '#f8d84f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d84f;
$custom-light: #fee387;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d84f",
  "rgb": {
    "r": 248,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 48.639,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88527,
    "c": 0.15465,
    "h": 95.8
  },
  "luminance": 0.69633
}

Semantic roles & 50–950 ramp

primary
#F8D84F
secondary
#2A46C2
accent
#2BE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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