#F8D76B#F8D76B

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

Color values

HEX#F8D76B
RGBrgb(248, 215, 107)
HSLhsl(46, 91%, 70%)
HSVhsv(46, 57%, 97%)
CMYKcmyk(0%, 13.3%, 56.9%, 2.7%)
CIE-LABlab(86.81, -1.13, 56.64)
CIE-LCHlch(86.81, 56.65, 91.14°)
OKLaboklab(88.6% -0.0059 0.1321)
OKLCHoklch(88.6% 0.132 92.6)
XYZxyz(65.6684, 69.6221, 23.8865)
Luminance0.6962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D76B #6B8CF8
analogous
#F8906B #F8D76B #D3F86B
triadic
#F8D76B #6BF8D7 #D76BF8
tetradic
#F8D76B #6BF890 #6B8CF8 #F86BD3
square
#F8D76B #6BF890 #6B8CF8 #F86BD3
split-complementary
#F8D76B #6BD3F8 #906BF8
monochromatic
#DEAD0B #F5C731 #F8D76B #FBE7A5 #FEF7E0

Accessibility & contrast

On white

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

On black

14.92
#F8D76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D76B
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D76B#FFFFFF#000000##000000
##F8D76B1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d76b;
/* rgb */ color: rgb(248, 215, 107);
/* oklch */ color: oklch(88.6% 0.132 92.6);
Tailwind
colors: {
  custom: {
    50: '#fde398',
    500: '#f8d76b',
    950: '#000000',
  },
}
SCSS
$custom: #f8d76b;
$custom-light: #fde398;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d76b",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 45.957,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.886,
    "c": 0.13222,
    "h": 92.6
  },
  "luminance": 0.69619
}

Semantic roles & 50–950 ramp

primary
#F8D76B
secondary
#355AD2
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D76B

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

Preview Lab → · Contrast checker → · Palette generator →

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