#F5E686#F5E686

#F5E686 is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.118 H 100.6°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#F5E686
RGBrgb(245, 230, 134)
HSLhsl(52, 85%, 74%)
HSVhsv(52, 45%, 96%)
CMYKcmyk(0%, 6.1%, 45.3%, 3.9%)
CIE-LABlab(90.66, -7.64, 48.40)
CIE-LCHlch(90.66, 49.00, 98.97°)
OKLaboklab(91.68% -0.0217 0.1164)
OKLCHoklch(91.68% 0.118 100.6)
XYZxyz(70.2578, 77.7296, 33.8520)
Luminance0.7773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E686 #8695F5
analogous
#F5AF86 #F5E686 #CDF586
triadic
#F5E686 #86F5E6 #E686F5
tetradic
#F5E686 #86F5AF #8695F5 #F586CD
square
#F5E686 #86F5AF #8695F5 #F586CD
split-complementary
#F5E686 #86CDF5 #AF86F5
monochromatic
#ECCF15 #F0DA4D #F5E686 #FAF2BF #FDF9E3

Accessibility & contrast

On white

1.27
#F5E686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.55
#F5E686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E686
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E686#FFFFFF#000000##000000
##F5E6861.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17E
Deuteranopia (green-blind)
#FBE78A
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e686;
/* rgb */ color: rgb(245, 230, 134);
/* oklch */ color: oklch(91.7% 0.118 100.6);
Tailwind
colors: {
  custom: {
    50: '#faedab',
    500: '#f5e686',
    950: '#000000',
  },
}
SCSS
$custom: #f5e686;
$custom-light: #faedab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e686",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 134
  },
  "hsl": {
    "h": 51.892,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91681,
    "c": 0.1184,
    "h": 100.6
  },
  "luminance": 0.77727
}

Semantic roles & 50–950 ramp

primary
#F5E686
secondary
#4E5FD2
accent
#22E104
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E686

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

Preview Lab → · Contrast checker → · Palette generator →

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