#F8E768#F8E768

#F8E768 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.148 H 101.7°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F8E768
RGBrgb(248, 231, 104)
HSLhsl(53, 91%, 69%)
HSVhsv(53, 58%, 97%)
CMYKcmyk(0%, 6.9%, 58.1%, 2.7%)
CIE-LABlab(90.83, -9.40, 62.55)
CIE-LCHlch(90.83, 63.25, 98.54°)
OKLaboklab(91.77% -0.03 0.1445)
OKLCHoklch(91.77% 0.148 101.7)
XYZxyz(69.7885, 78.1104, 24.4947)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E768 #6879F8
analogous
#F89F68 #F8E768 #C1F868
triadic
#F8E768 #68F8E7 #E768F8
tetradic
#F8E768 #68F89F #6879F8 #F868C1
square
#F8E768 #68F89F #6879F8 #F868C1
split-complementary
#F8E768 #68C1F8 #9F68F8
monochromatic
#DBC30A #F5DE2E #F8E768 #FBF0A2 #FDFADD

Accessibility & contrast

On white

1.26
#F8E768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F8E768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E768
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E768#FFFFFF#000000##000000
##F8E7681.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15B
Deuteranopia (green-blind)
#FFE86E
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e768;
/* rgb */ color: rgb(248, 231, 104);
/* oklch */ color: oklch(91.8% 0.148 101.7);
Tailwind
colors: {
  custom: {
    50: '#fdee97',
    500: '#f8e768',
    950: '#000000',
  },
}
SCSS
$custom: #f8e768;
$custom-light: #fdee97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e768",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 104
  },
  "hsl": {
    "h": 52.917,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91772,
    "c": 0.14754,
    "h": 101.7
  },
  "luminance": 0.78108
}

Semantic roles & 50–950 ramp

primary
#F8E768
secondary
#3245D2
accent
#1BE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E768

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

Preview Lab → · Contrast checker → · Palette generator →

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