#F5F86B#F5F86B

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

Color values

HEX#F5F86B
RGBrgb(245, 248, 107)
HSLhsl(61, 91%, 70%)
HSVhsv(61, 57%, 97%)
CMYKcmyk(1.2%, 0%, 56.9%, 2.7%)
CIE-LABlab(95.00, -18.71, 65.84)
CIE-LCHlch(95.00, 68.44, 105.86°)
OKLaboklab(95.04% -0.056 0.1519)
OKLCHoklch(95.04% 0.162 110.2)
XYZxyz(73.8794, 87.6106, 26.9258)
Luminance0.8761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F86B #6E6BF8
analogous
#F8B56B #F5F86B #AEF86B
triadic
#F5F86B #6BF5F8 #F86BF5
tetradic
#F5F86B #6BF8B5 #6E6BF8 #F86BAE
square
#F5F86B #6BF8B5 #6E6BF8 #F86BAE
split-complementary
#F5F86B #6BAEF8 #B56BF8
monochromatic
#DADE0B #F1F531 #F5F86B #F9FBA5 #FDFEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F86B#FFFFFF#000000##000000
##F5F86B1.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)
#FFEE5C
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f86b;
/* rgb */ color: rgb(245, 248, 107);
/* oklch */ color: oklch(95.0% 0.162 110.2);
Tailwind
colors: {
  custom: {
    50: '#fbfa9a',
    500: '#f5f86b',
    950: '#000000',
  },
}
SCSS
$custom: #f5f86b;
$custom-light: #fbfa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f86b",
  "rgb": {
    "r": 245,
    "g": 248,
    "b": 107
  },
  "hsl": {
    "h": 61.277,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9504,
    "c": 0.16189,
    "h": 110.2
  },
  "luminance": 0.87609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F86B

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

Preview Lab → · Contrast checker → · Palette generator →

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