#F8D768#F8D768

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

Color values

HEX#F8D768
RGBrgb(248, 215, 104)
HSLhsl(46, 91%, 69%)
HSVhsv(46, 58%, 97%)
CMYKcmyk(0%, 13.3%, 58.1%, 2.7%)
CIE-LABlab(86.78, -1.35, 57.98)
CIE-LCHlch(86.78, 57.99, 91.33°)
OKLaboklab(88.57% -0.0069 0.1346)
OKLCHoklch(88.57% 0.135 92.9)
XYZxyz(65.5133, 69.5601, 23.0697)
Luminance0.6956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D768 #6889F8
analogous
#F88F68 #F8D768 #D1F868
triadic
#F8D768 #68F8D7 #D768F8
tetradic
#F8D768 #68F88F #6889F8 #F868D1
square
#F8D768 #68F88F #6889F8 #F868D1
split-complementary
#F8D768 #68D1F8 #8F68F8
monochromatic
#DBAB0A #F5C82E #F8D768 #FBE6A2 #FDF6DD

Accessibility & contrast

On white

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

On black

14.91
#F8D768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D768
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D768#FFFFFF#000000##000000
##F8D7681.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45D
Deuteranopia (green-blind)
#F3DD6D
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f8d768;
/* rgb */ color: rgb(248, 215, 104);
/* oklch */ color: oklch(88.6% 0.135 92.9);
Tailwind
colors: {
  custom: {
    50: '#fee396',
    500: '#f8d768',
    950: '#000000',
  },
}
SCSS
$custom: #f8d768;
$custom-light: #fee396;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d768",
  "rgb": {
    "r": 248,
    "g": 215,
    "b": 104
  },
  "hsl": {
    "h": 46.25,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88566,
    "c": 0.13482,
    "h": 92.9
  },
  "luminance": 0.69557
}

Semantic roles & 50–950 ramp

primary
#F8D768
secondary
#3257D2
accent
#35E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8D768

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

Preview Lab → · Contrast checker → · Palette generator →

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