#F8F75B#F8F75B

#F8F75B is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.9% C 0.173 H 108.9°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#F8F75B
RGBrgb(248, 247, 91)
HSLhsl(60, 92%, 66%)
HSVhsv(60, 63%, 97%)
CMYKcmyk(0%, 0.4%, 63.3%, 2.7%)
CIE-LABlab(94.84, -18.06, 72.26)
CIE-LCHlch(94.84, 74.48, 104.03°)
OKLaboklab(94.93% -0.056 0.1633)
OKLCHoklch(94.93% 0.173 108.9)
XYZxyz(73.8629, 87.2355, 22.8428)
Luminance0.8723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F75B #5B5CF8
analogous
#F8A95B #F8F75B #ABF85B
triadic
#F8F75B #5BF8F7 #F75BF8
tetradic
#F8F75B #5BF8A9 #5B5CF8 #F85BAB
square
#F8F75B #5BF8A9 #5B5CF8 #F85BAB
split-complementary
#F8F75B #5BABF8 #A95BF8
monochromatic
#D0CE09 #F5F420 #F8F75B #FBFA96 #FDFDD0

Accessibility & contrast

On white

1.14
#F8F75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#F8F75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F75B
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F75B#FFFFFF#000000##000000
##F8F75B1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED46
Deuteranopia (green-blind)
#FFF365
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f75b;
/* rgb */ color: rgb(248, 247, 91);
/* oklch */ color: oklch(94.9% 0.173 108.9);
Tailwind
colors: {
  custom: {
    50: '#fef991',
    500: '#f8f75b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f75b;
$custom-light: #fef991;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f75b",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 91
  },
  "hsl": {
    "h": 59.618,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94928,
    "c": 0.17264,
    "h": 108.9
  },
  "luminance": 0.87233
}

Semantic roles & 50–950 ramp

primary
#F8F75B
secondary
#2C2DCB
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8F75B

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

Preview Lab → · Contrast checker → · Palette generator →

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