#F8F85B#F8F85B

#F8F85B is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.1% C 0.174 H 109.3°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#F8F85B
RGBrgb(248, 248, 91)
HSLhsl(60, 92%, 66%)
HSVhsv(60, 63%, 97%)
CMYKcmyk(0%, 0%, 63.3%, 2.7%)
CIE-LABlab(95.10, -18.54, 72.53)
CIE-LCHlch(95.10, 74.86, 104.34°)
OKLaboklab(95.14% -0.0574 0.1639)
OKLCHoklch(95.14% 0.174 109.3)
XYZxyz(74.1695, 87.8487, 22.9450)
Luminance0.8785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F85B #5B5BF8
analogous
#F8AA5B #F8F85B #AAF85B
triadic
#F8F85B #5BF8F8 #F85BF8
tetradic
#F8F85B #5BF8AA #5B5BF8 #F85BAA
square
#F8F85B #5BF8AA #5B5BF8 #F85BAA
split-complementary
#F8F85B #5BAAF8 #AA5BF8
monochromatic
#D0D009 #F5F520 #F8F85B #FBFB96 #FDFDD0

Accessibility & contrast

On white

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

On black

18.57
#F8F85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F85B
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F85B#FFFFFF#000000##000000
##F8F85B1.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f85b;
/* rgb */ color: rgb(248, 248, 91);
/* oklch */ color: oklch(95.1% 0.174 109.3);
Tailwind
colors: {
  custom: {
    50: '#fefa91',
    500: '#f8f85b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f85b;
$custom-light: #fefa91;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f85b",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95135,
    "c": 0.17362,
    "h": 109.3
  },
  "luminance": 0.87847
}

Semantic roles & 50–950 ramp

primary
#F8F85B
secondary
#2C2CCB
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8F85B

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

Preview Lab → · Contrast checker → · Palette generator →

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