#F8E68A#F8E68A

#F8E68A is a very light, moderate yellow. Relative luminance 0.784; OKLCH L 92.0% C 0.114 H 98.5°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#F8E68A
RGBrgb(248, 230, 138)
HSLhsl(50, 89%, 76%)
HSVhsv(50, 44%, 97%)
CMYKcmyk(0%, 7.3%, 44.4%, 2.7%)
CIE-LABlab(90.96, -6.08, 46.89)
CIE-LCHlch(90.96, 47.28, 97.38°)
OKLaboklab(92% -0.017 0.1132)
OKLCHoklch(92% 0.114 98.5)
XYZxyz(71.5975, 78.3875, 35.3987)
Luminance0.7839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E68A #8A9CF8
analogous
#F8AF8A #F8E68A #D3F88A
triadic
#F8E68A #8AF8E6 #E68AF8
tetradic
#F8E68A #8AF8AF #8A9CF8 #F88AD3
square
#F8E68A #8AF8AF #8A9CF8 #F88AD3
split-complementary
#F8E68A #8AD3F8 #AF8AF8
monochromatic
#F1CD17 #F5DA50 #F8E68A #FBF2C4 #FDF9E2

Accessibility & contrast

On white

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

On black

16.68
#F8E68A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E68A
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E68A#FFFFFF#000000##000000
##F8E68A1.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E183
Deuteranopia (green-blind)
#FBE88E
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e68a;
/* rgb */ color: rgb(248, 230, 138);
/* oklch */ color: oklch(92.0% 0.114 98.5);
Tailwind
colors: {
  custom: {
    50: '#fcedad',
    500: '#f8e68a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e68a;
$custom-light: #fcedad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e68a",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 138
  },
  "hsl": {
    "h": 50.182,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91995,
    "c": 0.11449,
    "h": 98.5
  },
  "luminance": 0.78385
}

Semantic roles & 50–950 ramp

primary
#F8E68A
secondary
#5066D6
accent
#26E500
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E68A

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

Preview Lab → · Contrast checker → · Palette generator →

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