#F8D670#F8D670

#F8D670 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.5% C 0.127 H 91.2°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#F8D670
RGBrgb(248, 214, 112)
HSLhsl(45, 91%, 71%)
HSVhsv(45, 55%, 97%)
CMYKcmyk(0%, 13.7%, 54.8%, 2.7%)
CIE-LABlab(86.61, -0.24, 54.08)
CIE-LCHlch(86.61, 54.08, 90.26°)
OKLaboklab(88.46% -0.0027 0.1271)
OKLCHoklch(88.46% 0.127 91.2)
XYZxyz(65.6853, 69.2227, 25.2275)
Luminance0.6922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D670 #7092F8
analogous
#F89270 #F8D670 #D6F870
triadic
#F8D670 #70F8D6 #D670F8
tetradic
#F8D670 #70F892 #7092F8 #F870D6
square
#F8D670 #70F892 #7092F8 #F870D6
split-complementary
#F8D670 #70D6F8 #9270F8
monochromatic
#E3AD0B #F5C536 #F8D670 #FBE7AA #FEF7E2

Accessibility & contrast

On white

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

On black

14.84
#F8D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D670
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D670#FFFFFF#000000##000000
##F8D6701.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D367
Deuteranopia (green-blind)
#F2DD74
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d670;
/* rgb */ color: rgb(248, 214, 112);
/* oklch */ color: oklch(88.5% 0.127 91.2);
Tailwind
colors: {
  custom: {
    50: '#fde29c',
    500: '#f8d670',
    950: '#000000',
  },
}
SCSS
$custom: #f8d670;
$custom-light: #fde29c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d670",
  "rgb": {
    "r": 248,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 45,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88462,
    "c": 0.12711,
    "h": 91.2
  },
  "luminance": 0.69219
}

Semantic roles & 50–950 ramp

primary
#F8D670
secondary
#3960D3
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D670

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

Preview Lab → · Contrast checker → · Palette generator →

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