#F8E368#F8E368

#F8E368 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.144 H 99.7°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#F8E368
RGBrgb(248, 227, 104)
HSLhsl(51, 91%, 69%)
HSVhsv(51, 58%, 97%)
CMYKcmyk(0%, 8.5%, 58.1%, 2.7%)
CIE-LABlab(89.81, -7.40, 61.41)
CIE-LCHlch(89.81, 61.85, 96.87°)
OKLaboklab(90.96% -0.0243 0.142)
OKLCHoklch(90.96% 0.144 99.7)
XYZxyz(68.6818, 75.8969, 24.1258)
Luminance0.7589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E368 #687DF8
analogous
#F89B68 #F8E368 #C5F868
triadic
#F8E368 #68F8E3 #E368F8
tetradic
#F8E368 #68F89B #687DF8 #F868C5
square
#F8E368 #68F89B #687DF8 #F868C5
split-complementary
#F8E368 #68C5F8 #9B68F8
monochromatic
#DBBD0A #F5D82E #F8E368 #FBEEA2 #FDF9DD

Accessibility & contrast

On white

1.30
#F8E368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#F8E368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E368
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E368#FFFFFF#000000##000000
##F8E3681.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5B
Deuteranopia (green-blind)
#FCE56E
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e368;
/* rgb */ color: rgb(248, 227, 104);
/* oklch */ color: oklch(91.0% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#fdeb97',
    500: '#f8e368',
    950: '#000000',
  },
}
SCSS
$custom: #f8e368;
$custom-light: #fdeb97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e368",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 104
  },
  "hsl": {
    "h": 51.25,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90964,
    "c": 0.14407,
    "h": 99.7
  },
  "luminance": 0.75894
}

Semantic roles & 50–950 ramp

primary
#F8E368
secondary
#324AD2
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E368

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

Preview Lab → · Contrast checker → · Palette generator →

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