#F8F55B#F8F55B

#F8F55B is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.5% C 0.171 H 108.2°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#F8F55B
RGBrgb(248, 245, 91)
HSLhsl(59, 92%, 66%)
HSVhsv(59, 63%, 97%)
CMYKcmyk(0%, 1.2%, 63.3%, 2.7%)
CIE-LABlab(94.32, -17.09, 71.72)
CIE-LCHlch(94.32, 73.73, 103.41°)
OKLaboklab(94.52% -0.0533 0.1622)
OKLCHoklch(94.52% 0.171 108.2)
XYZxyz(73.2546, 86.0188, 22.6400)
Luminance0.8602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F55B #5B5EF8
analogous
#F8A75B #F8F55B #ACF85B
triadic
#F8F55B #5BF8F5 #F55BF8
tetradic
#F8F55B #5BF8A7 #5B5EF8 #F85BAC
square
#F8F55B #5BF8A7 #5B5EF8 #F85BAC
split-complementary
#F8F55B #5BACF8 #A75BF8
monochromatic
#D0CC09 #F5F120 #F8F55B #FBF996 #FDFCD0

Accessibility & contrast

On white

1.15
#F8F55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#F8F55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F55B
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F55B#FFFFFF#000000##000000
##F8F55B1.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC47
Deuteranopia (green-blind)
#FFF165
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f55b;
/* rgb */ color: rgb(248, 245, 91);
/* oklch */ color: oklch(94.5% 0.171 108.2);
Tailwind
colors: {
  custom: {
    50: '#fef890',
    500: '#f8f55b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f55b;
$custom-light: #fef890;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f55b",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 91
  },
  "hsl": {
    "h": 58.854,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94515,
    "c": 0.17069,
    "h": 108.2
  },
  "luminance": 0.86017
}

Semantic roles & 50–950 ramp

primary
#F8F55B
secondary
#2C2FCB
accent
#04E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8F55B

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

Preview Lab → · Contrast checker → · Palette generator →

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