#F8D94F#F8D94F

#F8D94F is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.155 H 96.3°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#F8D94F
RGBrgb(248, 217, 79)
HSLhsl(49, 92%, 64%)
HSVhsv(49, 68%, 97%)
CMYKcmyk(0%, 12.5%, 68.1%, 2.7%)
CIE-LABlab(87.07, -3.89, 68.94)
CIE-LCHlch(87.07, 69.05, 93.23°)
OKLaboklab(88.73% -0.017 0.1544)
OKLCHoklch(88.73% 0.155 96.3)
XYZxyz(64.9387, 70.1500, 17.5154)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D94F #4F6EF8
analogous
#F8854F #F8D94F #C3F84F
triadic
#F8D94F #4FF8D9 #D94FF8
tetradic
#F8D94F #4FF885 #4F6EF8 #F84FC3
square
#F8D94F #4FF885 #4F6EF8 #F84FC3
split-complementary
#F8D94F #4FC3F8 #854FF8
monochromatic
#C5A208 #F6CC14 #F8D94F #FAE68A #FDF2C5

Accessibility & contrast

On white

1.40
#F8D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#F8D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D94F
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D94F#FFFFFF#000000##000000
##F8D94F1.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43C
Deuteranopia (green-blind)
#F6DE57
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f8d94f;
/* rgb */ color: rgb(248, 217, 79);
/* oklch */ color: oklch(88.7% 0.155 96.3);
Tailwind
colors: {
  custom: {
    50: '#fee487',
    500: '#f8d94f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d94f;
$custom-light: #fee487;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d94f",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 48.994,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88726,
    "c": 0.15535,
    "h": 96.3
  },
  "luminance": 0.70147
}

Semantic roles & 50–950 ramp

primary
#F8D94F
secondary
#2A45C2
accent
#2AE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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