#F8F670#F8F670

#F8F670 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.155 H 108.2°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F8F670
RGBrgb(248, 246, 112)
HSLhsl(59, 91%, 71%)
HSVhsv(59, 55%, 97%)
CMYKcmyk(0%, 0.8%, 54.8%, 2.7%)
CIE-LABlab(94.76, -16.19, 63.48)
CIE-LCHlch(94.76, 65.51, 104.31°)
OKLaboklab(94.92% -0.0485 0.1474)
OKLCHoklch(94.92% 0.155 108.2)
XYZxyz(74.5939, 87.0399, 28.1971)
Luminance0.8704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F670 #7072F8
analogous
#F8B270 #F8F670 #B6F870
triadic
#F8F670 #70F8F6 #F670F8
tetradic
#F8F670 #70F8B2 #7072F8 #F870B6
square
#F8F670 #70F8B2 #7072F8 #F870B6
split-complementary
#F8F670 #70B6F8 #B270F8
monochromatic
#E3DF0B #F5F236 #F8F670 #FBFAAA #FEFDE2

Accessibility & contrast

On white

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

On black

18.41
#F8F670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F670
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F670#FFFFFF#000000##000000
##F8F6701.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f670;
/* rgb */ color: rgb(248, 246, 112);
/* oklch */ color: oklch(94.9% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#fdf99d',
    500: '#f8f670',
    950: '#000000',
  },
}
SCSS
$custom: #f8f670;
$custom-light: #fdf99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f670",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 59.118,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94918,
    "c": 0.15514,
    "h": 108.2
  },
  "luminance": 0.87038
}

Semantic roles & 50–950 ramp

primary
#F8F670
secondary
#393CD3
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F670

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

Preview Lab → · Contrast checker → · Palette generator →

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