#F8F95C#F8F95C

#F8F95C is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.3% C 0.174 H 109.6°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#F8F95C
RGBrgb(248, 249, 92)
HSLhsl(60, 93%, 67%)
HSVhsv(60, 63%, 98%)
CMYKcmyk(0.4%, 0%, 63.1%, 2.4%)
CIE-LABlab(95.36, -18.96, 72.42)
CIE-LCHlch(95.36, 74.86, 104.67°)
OKLaboklab(95.35% -0.0584 0.1638)
OKLCHoklch(95.35% 0.174 109.6)
XYZxyz(74.5212, 88.4826, 23.2764)
Luminance0.8848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F95C #5D5CF9
analogous
#F9AC5C #F8F95C #AAF95C
triadic
#F8F95C #5CF8F9 #F95CF8
tetradic
#F8F95C #5CF9AC #5D5CF9 #F95CAA
square
#F8F95C #5CF9AC #5D5CF9 #F95CAA
split-complementary
#F8F95C #5CAAF9 #AC5CF9
monochromatic
#D2D308 #F5F721 #F8F95C #FBFB97 #FDFDD2

Accessibility & contrast

On white

1.12
#F8F95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.70
#F8F95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F95C
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F95C#FFFFFF#000000##000000
##F8F95C1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF47
Deuteranopia (green-blind)
#FFF466
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f95c;
/* rgb */ color: rgb(248, 249, 92);
/* oklch */ color: oklch(95.3% 0.174 109.6);
Tailwind
colors: {
  custom: {
    50: '#fefb91',
    500: '#f8f95c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f95c;
$custom-light: #fefb91;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f95c",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 92
  },
  "hsl": {
    "h": 60.382,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.9535,
    "c": 0.1739,
    "h": 109.6
  },
  "luminance": 0.88481
}

Semantic roles & 50–950 ramp

primary
#F8F95C
secondary
#2D2CCE
accent
#00E601
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8F95C

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

Preview Lab → · Contrast checker → · Palette generator →

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