#F5F86A#F5F86A

#F5F86A is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.0% C 0.163 H 110.3°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#F5F86A
RGBrgb(245, 248, 106)
HSLhsl(61, 91%, 69%)
HSVhsv(61, 57%, 97%)
CMYKcmyk(1.2%, 0%, 57.3%, 2.7%)
CIE-LABlab(94.99, -18.78, 66.25)
CIE-LCHlch(94.99, 68.86, 105.83°)
OKLaboklab(95.03% -0.0563 0.1526)
OKLCHoklch(95.03% 0.163 110.3)
XYZxyz(73.8271, 87.5897, 26.6503)
Luminance0.8759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F86A #6D6AF8
analogous
#F8B46A #F5F86A #AEF86A
triadic
#F5F86A #6AF5F8 #F86AF5
tetradic
#F5F86A #6AF8B4 #6D6AF8 #F86AAE
square
#F5F86A #6AF8B4 #6D6AF8 #F86AAE
split-complementary
#F5F86A #6AAEF8 #B46AF8
monochromatic
#D9DD0A #F1F530 #F5F86A #F9FBA4 #FDFDDF

Accessibility & contrast

On white

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

On black

18.52
#F5F86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F86A
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F86A#FFFFFF#000000##000000
##F5F86A1.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5A
Deuteranopia (green-blind)
#FFF372
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f86a;
/* rgb */ color: rgb(245, 248, 106);
/* oklch */ color: oklch(95.0% 0.163 110.3);
Tailwind
colors: {
  custom: {
    50: '#fbfa99',
    500: '#f5f86a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f86a;
$custom-light: #fbfa99;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f86a",
  "rgb": {
    "r": 245,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 61.268,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9503,
    "c": 0.1627,
    "h": 110.3
  },
  "luminance": 0.87588
}

Semantic roles & 50–950 ramp

primary
#F5F86A
secondary
#3734D2
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F86A

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

Preview Lab → · Contrast checker → · Palette generator →

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