#F5F86F#F5F86F

#F5F86F is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.1% C 0.159 H 110.2°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#F5F86F
RGBrgb(245, 248, 111)
HSLhsl(61, 91%, 70%)
HSVhsv(61, 55%, 97%)
CMYKcmyk(1.2%, 0%, 55.2%, 2.7%)
CIE-LABlab(95.03, -18.42, 64.16)
CIE-LCHlch(95.03, 66.75, 106.02°)
OKLaboklab(95.08% -0.0548 0.1488)
OKLCHoklch(95.08% 0.159 110.2)
XYZxyz(74.0947, 87.6968, 28.0599)
Luminance0.8770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F86F #726FF8
analogous
#F8B66F #F5F86F #B0F86F
triadic
#F5F86F #6FF5F8 #F86FF5
tetradic
#F5F86F #6FF8B6 #726FF8 #F86FB0
square
#F5F86F #6FF8B6 #726FF8 #F86FB0
split-complementary
#F5F86F #6FB0F8 #B66FF8
monochromatic
#DDE20B #F1F535 #F5F86F #F9FBA9 #FDFEE2

Accessibility & contrast

On white

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

On black

18.54
#F5F86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F86F
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F86F#FFFFFF#000000##000000
##F5F86F1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE61
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f86f;
/* rgb */ color: rgb(245, 248, 111);
/* oklch */ color: oklch(95.1% 0.159 110.2);
Tailwind
colors: {
  custom: {
    50: '#fbfa9d',
    500: '#f5f86f',
    950: '#000000',
  },
}
SCSS
$custom: #f5f86f;
$custom-light: #fbfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f86f",
  "rgb": {
    "r": 245,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 61.314,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95081,
    "c": 0.15853,
    "h": 110.2
  },
  "luminance": 0.87695
}

Semantic roles & 50–950 ramp

primary
#F5F86F
secondary
#3C38D3
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F86F

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

Preview Lab → · Contrast checker → · Palette generator →

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