#F8F85F#F8F85F

#F8F85F is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.171 H 109.2°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#F8F85F
RGBrgb(248, 248, 95)
HSLhsl(60, 92%, 67%)
HSVhsv(60, 62%, 97%)
CMYKcmyk(0%, 0%, 61.7%, 2.7%)
CIE-LABlab(95.13, -18.30, 70.99)
CIE-LCHlch(95.13, 73.31, 104.46°)
OKLaboklab(95.17% -0.0563 0.1612)
OKLCHoklch(95.17% 0.171 109.2)
XYZxyz(74.3467, 87.9196, 23.8781)
Luminance0.8792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F85F #5F5FF8
analogous
#F8AC5F #F8F85F #ACF85F
triadic
#F8F85F #5FF8F8 #F85FF8
tetradic
#F8F85F #5FF8AC #5F5FF8 #F85FAC
square
#F8F85F #5FF8AC #5F5FF8 #F85FAC
split-complementary
#F8F85F #5FACF8 #AC5FF8
monochromatic
#D3D309 #F5F524 #F8F85F #FBFB9A #FDFDD4

Accessibility & contrast

On white

1.13
#F8F85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#F8F85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F85F
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F85F#FFFFFF#000000##000000
##F8F85F1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4C
Deuteranopia (green-blind)
#FFF369
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f85f;
/* rgb */ color: rgb(248, 248, 95);
/* oklch */ color: oklch(95.2% 0.171 109.2);
Tailwind
colors: {
  custom: {
    50: '#fefa93',
    500: '#f8f85f',
    950: '#000000',
  },
}
SCSS
$custom: #f8f85f;
$custom-light: #fefa93;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f85f",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.95168,
    "c": 0.17073,
    "h": 109.2
  },
  "luminance": 0.87917
}

Semantic roles & 50–950 ramp

primary
#F8F85F
secondary
#2D2DCE
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F85F

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

Preview Lab → · Contrast checker → · Palette generator →

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