#F8F368#F8F368

#F8F368 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.2% C 0.159 H 107.2°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#F8F368
RGBrgb(248, 243, 104)
HSLhsl(58, 91%, 69%)
HSVhsv(58, 58%, 97%)
CMYKcmyk(0%, 2%, 58.1%, 2.7%)
CIE-LABlab(93.91, -15.30, 65.97)
CIE-LCHlch(93.91, 67.72, 103.06°)
OKLaboklab(94.22% -0.0468 0.1517)
OKLCHoklch(94.22% 0.159 107.2)
XYZxyz(73.2630, 85.0593, 25.6529)
Luminance0.8506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F368 #686DF8
analogous
#F8AB68 #F8F368 #B5F868
triadic
#F8F368 #68F8F3 #F368F8
tetradic
#F8F368 #68F8AB #686DF8 #F868B5
square
#F8F368 #68F8AB #686DF8 #F868B5
split-complementary
#F8F368 #68B5F8 #AB68F8
monochromatic
#DBD40A #F5EE2E #F8F368 #FBF8A2 #FDFCDD

Accessibility & contrast

On white

1.17
#F8F368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#F8F368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F368
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F368#FFFFFF#000000##000000
##F8F3681.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA59
Deuteranopia (green-blind)
#FFF070
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f368;
/* rgb */ color: rgb(248, 243, 104);
/* oklch */ color: oklch(94.2% 0.159 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdf698',
    500: '#f8f368',
    950: '#000000',
  },
}
SCSS
$custom: #f8f368;
$custom-light: #fdf698;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f368",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 104
  },
  "hsl": {
    "h": 57.917,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.9422,
    "c": 0.15881,
    "h": 107.2
  },
  "luminance": 0.85057
}

Semantic roles & 50–950 ramp

primary
#F8F368
secondary
#3238D2
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F368

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

Preview Lab → · Contrast checker → · Palette generator →

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