#F5D86B#F5D86B

#F5D86B is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.132 H 94.6°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#F5D86B
RGBrgb(245, 216, 107)
HSLhsl(47, 87%, 69%)
HSVhsv(47, 56%, 96%)
CMYKcmyk(0%, 11.8%, 56.3%, 3.9%)
CIE-LABlab(86.79, -2.86, 56.55)
CIE-LCHlch(86.79, 56.62, 92.90°)
OKLaboklab(88.52% -0.0107 0.132)
OKLCHoklch(88.52% 0.132 94.6)
XYZxyz(64.8685, 69.5888, 23.9222)
Luminance0.6959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D86B #6B88F5
analogous
#F5936B #F5D86B #CDF56B
triadic
#F5D86B #6BF5D8 #D86BF5
tetradic
#F5D86B #6BF593 #6B88F5 #F56BCD
square
#F5D86B #6BF593 #6B88F5 #F56BCD
split-complementary
#F5D86B #6BCDF5 #936BF5
monochromatic
#D7AD0F #F1C932 #F5D86B #F9E7A4 #FDF6DE

Accessibility & contrast

On white

1.41
#F5D86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#F5D86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D86B
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D86B#FFFFFF#000000##000000
##F5D86B1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD460
Deuteranopia (green-blind)
#F3DD70
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d86b;
/* rgb */ color: rgb(245, 216, 107);
/* oklch */ color: oklch(88.5% 0.132 94.6);
Tailwind
colors: {
  custom: {
    50: '#fbe398',
    500: '#f5d86b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d86b;
$custom-light: #fbe398;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d86b",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 47.391,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88524,
    "c": 0.13239,
    "h": 94.6
  },
  "luminance": 0.69586
}

Semantic roles & 50–950 ramp

primary
#F5D86B
secondary
#3656CE
accent
#31E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D86B

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

Preview Lab → · Contrast checker → · Palette generator →

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