#F8F167#F8F167

#F8F167 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.8% C 0.158 H 106.3°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F8F167
RGBrgb(248, 241, 103)
HSLhsl(57, 91%, 69%)
HSVhsv(57, 58%, 97%)
CMYKcmyk(0%, 2.8%, 58.5%, 2.7%)
CIE-LABlab(93.38, -14.39, 65.82)
CIE-LCHlch(93.38, 67.37, 102.34°)
OKLaboklab(93.8% -0.0444 0.1513)
OKLCHoklch(93.8% 0.158 106.3)
XYZxyz(72.6172, 83.8486, 25.1885)
Luminance0.8385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F167 #676EF8
analogous
#F8A967 #F8F167 #B7F867
triadic
#F8F167 #67F8F1 #F167F8
tetradic
#F8F167 #67F8A9 #676EF8 #F867B7
square
#F8F167 #67F8A9 #676EF8 #F867B7
split-complementary
#F8F167 #67B7F8 #A967F8
monochromatic
#DBD00A #F5EC2C #F8F167 #FBF6A2 #FDFCDC

Accessibility & contrast

On white

1.18
#F8F167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#F8F167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F167
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F167#FFFFFF#000000##000000
##F8F1671.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE958
Deuteranopia (green-blind)
#FFEF6F
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8f167;
/* rgb */ color: rgb(248, 241, 103);
/* oklch */ color: oklch(93.8% 0.158 106.3);
Tailwind
colors: {
  custom: {
    50: '#fdf597',
    500: '#f8f167',
    950: '#000000',
  },
}
SCSS
$custom: #f8f167;
$custom-light: #fdf597;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f167",
  "rgb": {
    "r": 248,
    "g": 241,
    "b": 103
  },
  "hsl": {
    "h": 57.103,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.938,
    "c": 0.15766,
    "h": 106.3
  },
  "luminance": 0.83846
}

Semantic roles & 50–950 ramp

primary
#F8F167
secondary
#3239D2
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F167

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

Preview Lab → · Contrast checker → · Palette generator →

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