#F8F674#F8F674

#F8F674 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.152 H 108.2°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#F8F674
RGBrgb(248, 246, 116)
HSLhsl(59, 90%, 71%)
HSVhsv(59, 53%, 97%)
CMYKcmyk(0%, 0.8%, 53.2%, 2.7%)
CIE-LABlab(94.79, -15.89, 61.76)
CIE-LCHlch(94.79, 63.77, 104.43°)
OKLaboklab(94.96% -0.0473 0.1441)
OKLCHoklch(94.96% 0.152 108.2)
XYZxyz(74.8216, 87.1309, 29.3962)
Luminance0.8713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F674 #7476F8
analogous
#F8B474 #F8F674 #B8F874
triadic
#F8F674 #74F8F6 #F674F8
tetradic
#F8F674 #74F8B4 #7476F8 #F874B8
square
#F8F674 #74F8B4 #7476F8 #F874B8
split-complementary
#F8F674 #74B8F8 #B474F8
monochromatic
#E6E30C #F5F23A #F8F674 #FBFAAE #FEFDE2

Accessibility & contrast

On white

1.14
#F8F674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#F8F674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F674
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F674#FFFFFF#000000##000000
##F8F6741.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FFF27B
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f674;
/* rgb */ color: rgb(248, 246, 116);
/* oklch */ color: oklch(95.0% 0.152 108.2);
Tailwind
colors: {
  custom: {
    50: '#fdf9a0',
    500: '#f8f674',
    950: '#000000',
  },
}
SCSS
$custom: #f8f674;
$custom-light: #fdf9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f674",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 59.091,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94961,
    "c": 0.15165,
    "h": 108.2
  },
  "luminance": 0.87129
}

Semantic roles & 50–950 ramp

primary
#F8F674
secondary
#3D3FD3
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F674

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

Preview Lab → · Contrast checker → · Palette generator →

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