#F5F86D#F5F86D

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

Color values

HEX#F5F86D
RGBrgb(245, 248, 109)
HSLhsl(61, 91%, 70%)
HSVhsv(61, 56%, 97%)
CMYKcmyk(1.2%, 0%, 56%, 2.7%)
CIE-LABlab(95.01, -18.57, 65.00)
CIE-LCHlch(95.01, 67.60, 105.94°)
OKLaboklab(95.06% -0.0554 0.1503)
OKLCHoklch(95.06% 0.16 110.2)
XYZxyz(73.9859, 87.6532, 27.4864)
Luminance0.8765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F86D #706DF8
analogous
#F8B66D #F5F86D #AFF86D
triadic
#F5F86D #6DF5F8 #F86DF5
tetradic
#F5F86D #6DF8B6 #706DF8 #F86DAF
square
#F5F86D #6DF8B6 #706DF8 #F86DAF
split-complementary
#F5F86D #6DAFF8 #B66DF8
monochromatic
#DBE00B #F1F533 #F5F86D #F9FBA7 #FDFEE2

Accessibility & contrast

On white

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

On black

18.53
#F5F86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F86D
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F86D#FFFFFF#000000##000000
##F5F86D1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f86d;
/* rgb */ color: rgb(245, 248, 109);
/* oklch */ color: oklch(95.1% 0.160 110.2);
Tailwind
colors: {
  custom: {
    50: '#fbfa9b',
    500: '#f5f86d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f86d;
$custom-light: #fbfa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f86d",
  "rgb": {
    "r": 245,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 61.295,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.9506,
    "c": 0.16022,
    "h": 110.2
  },
  "luminance": 0.87651
}

Semantic roles & 50–950 ramp

primary
#F5F86D
secondary
#3A37D2
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F86D

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

Preview Lab → · Contrast checker → · Palette generator →

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