#F8D76F#F8D76F

#F8D76F is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.6% C 0.129 H 92.0°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#F8D76F
RGBrgb(248, 215, 111)
HSLhsl(46, 91%, 70%)
HSVhsv(46, 55%, 97%)
CMYKcmyk(0%, 13.3%, 55.2%, 2.7%)
CIE-LABlab(86.85, -0.83, 54.83)
CIE-LCHlch(86.85, 54.84, 90.87°)
OKLaboklab(88.65% -0.0046 0.1286)
OKLCHoklch(88.65% 0.129 92)
XYZxyz(65.8838, 69.7082, 25.0206)
Luminance0.6970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D76F #6F90F8
analogous
#F8926F #F8D76F #D5F86F
triadic
#F8D76F #6FF8D7 #D76FF8
tetradic
#F8D76F #6FF892 #6F90F8 #F86FD5
square
#F8D76F #6FF892 #6F90F8 #F86FD5
split-complementary
#F8D76F #6FD5F8 #926FF8
monochromatic
#E2AE0B #F5C735 #F8D76F #FBE7A9 #FEF7E2

Accessibility & contrast

On white

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

On black

14.94
#F8D76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D76F
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D76F#FFFFFF#000000##000000
##F8D76F1.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD465
Deuteranopia (green-blind)
#F3DE73
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d76f;
/* rgb */ color: rgb(248, 215, 111);
/* oklch */ color: oklch(88.6% 0.129 92.0);
Tailwind
colors: {
  custom: {
    50: '#fde39b',
    500: '#f8d76f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d76f;
$custom-light: #fde39b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d76f",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 111
  },
  "hsl": {
    "h": 45.547,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88647,
    "c": 0.12869,
    "h": 92
  },
  "luminance": 0.69705
}

Semantic roles & 50–950 ramp

primary
#F8D76F
secondary
#385ED3
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D76F

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

Preview Lab → · Contrast checker → · Palette generator →

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