#F8D76C#F8D76C

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

Color values

HEX#F8D76C
RGBrgb(248, 215, 108)
HSLhsl(46, 91%, 70%)
HSVhsv(46, 56%, 97%)
CMYKcmyk(0%, 13.3%, 56.5%, 2.7%)
CIE-LABlab(86.82, -1.06, 56.19)
CIE-LCHlch(86.82, 56.20, 91.08°)
OKLaboklab(88.61% -0.0056 0.1312)
OKLCHoklch(88.61% 0.131 92.4)
XYZxyz(65.7213, 69.6433, 24.1652)
Luminance0.6964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D76C #6C8DF8
analogous
#F8916C #F8D76C #D3F86C
triadic
#F8D76C #6CF8D7 #D76CF8
tetradic
#F8D76C #6CF891 #6C8DF8 #F86CD3
square
#F8D76C #6CF891 #6C8DF8 #F86CD3
split-complementary
#F8D76C #6CD3F8 #916CF8
monochromatic
#DFAD0B #F5C732 #F8D76C #FBE7A6 #FEF7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D76C#FFFFFF#000000##000000
##F8D76C1.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)
#EBD462
Deuteranopia (green-blind)
#F3DE70
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d76c;
/* rgb */ color: rgb(248, 215, 108);
/* oklch */ color: oklch(88.6% 0.131 92.4);
Tailwind
colors: {
  custom: {
    50: '#fde399',
    500: '#f8d76c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d76c;
$custom-light: #fde399;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d76c",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 108
  },
  "hsl": {
    "h": 45.857,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88611,
    "c": 0.13135,
    "h": 92.4
  },
  "luminance": 0.6964
}

Semantic roles & 50–950 ramp

primary
#F8D76C
secondary
#365BD2
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D76C

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

Preview Lab → · Contrast checker → · Palette generator →

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