#F5F686#F5F686

#F5F686 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.135 H 109.2°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F5F686
RGBrgb(245, 246, 134)
HSLhsl(61, 86%, 75%)
HSVhsv(61, 46%, 96%)
CMYKcmyk(0.4%, 0%, 45.5%, 3.5%)
CIE-LABlab(94.76, -15.54, 53.43)
CIE-LCHlch(94.76, 55.65, 106.22°)
OKLaboklab(94.94% -0.0443 0.1276)
OKLCHoklch(94.94% 0.135 109.2)
XYZxyz(74.9165, 87.0469, 35.4049)
Luminance0.8704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F686 #8786F6
analogous
#F6BF86 #F5F686 #BDF686
triadic
#F5F686 #86F5F6 #F686F5
tetradic
#F5F686 #86F6BF #8786F6 #F686BD
square
#F5F686 #86F6BF #8786F6 #F686BD
split-complementary
#F5F686 #86BDF6 #BF86F6
monochromatic
#ECEE14 #F0F24D #F5F686 #FAFABF #FDFDE3

Accessibility & contrast

On white

1.14
#F5F686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#F5F686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F686
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F686#FFFFFF#000000##000000
##F5F6861.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7C
Deuteranopia (green-blind)
#FFF28B
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f686;
/* rgb */ color: rgb(245, 246, 134);
/* oklch */ color: oklch(94.9% 0.135 109.2);
Tailwind
colors: {
  custom: {
    50: '#faf9ab',
    500: '#f5f686',
    950: '#000000',
  },
}
SCSS
$custom: #f5f686;
$custom-light: #faf9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f686",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 134
  },
  "hsl": {
    "h": 60.536,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9494,
    "c": 0.13506,
    "h": 109.2
  },
  "luminance": 0.87045
}

Semantic roles & 50–950 ramp

primary
#F5F686
secondary
#4E4DD3
accent
#03E305
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F686

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

Preview Lab → · Contrast checker → · Palette generator →

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