#F8F75F#F8F75F

#F8F75F is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.170 H 108.9°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F8F75F
RGBrgb(248, 247, 95)
HSLhsl(60, 92%, 67%)
HSVhsv(60, 62%, 97%)
CMYKcmyk(0%, 0.4%, 61.7%, 2.7%)
CIE-LABlab(94.87, -17.82, 70.72)
CIE-LCHlch(94.87, 72.93, 104.14°)
OKLaboklab(94.96% -0.0549 0.1606)
OKLCHoklch(94.96% 0.17 108.9)
XYZxyz(74.0401, 87.3063, 23.7759)
Luminance0.8730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F75F #5F60F8
analogous
#F8AB5F #F8F75F #ACF85F
triadic
#F8F75F #5FF8F7 #F75FF8
tetradic
#F8F75F #5FF8AB #5F60F8 #F85FAC
square
#F8F75F #5FF8AB #5F60F8 #F85FAC
split-complementary
#F8F75F #5FACF8 #AB5FF8
monochromatic
#D3D209 #F5F424 #F8F75F #FBFA9A #FDFDD4

Accessibility & contrast

On white

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

On black

18.46
#F8F75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F75F
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F75F#FFFFFF#000000##000000
##F8F75F1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f75f;
/* rgb */ color: rgb(248, 247, 95);
/* oklch */ color: oklch(95.0% 0.170 108.9);
Tailwind
colors: {
  custom: {
    50: '#fef993',
    500: '#f8f75f',
    950: '#000000',
  },
}
SCSS
$custom: #f8f75f;
$custom-light: #fef993;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f75f",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 95
  },
  "hsl": {
    "h": 59.608,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94961,
    "c": 0.16974,
    "h": 108.9
  },
  "luminance": 0.87304
}

Semantic roles & 50–950 ramp

primary
#F8F75F
secondary
#2D2ECE
accent
#01E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8F75F

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

Preview Lab → · Contrast checker → · Palette generator →

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