#F5D86A#F5D86A

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

Color values

HEX#F5D86A
RGBrgb(245, 216, 106)
HSLhsl(47, 87%, 69%)
HSVhsv(47, 57%, 96%)
CMYKcmyk(0%, 11.8%, 56.7%, 3.9%)
CIE-LABlab(86.78, -2.94, 57.00)
CIE-LCHlch(86.78, 57.07, 92.95°)
OKLaboklab(88.51% -0.011 0.1328)
OKLCHoklch(88.51% 0.133 94.8)
XYZxyz(64.8162, 69.5678, 23.6467)
Luminance0.6956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D86A #6A87F5
analogous
#F5936A #F5D86A #CDF56A
triadic
#F5D86A #6AF5D8 #D86AF5
tetradic
#F5D86A #6AF593 #6A87F5 #F56ACD
square
#F5D86A #6AF593 #6A87F5 #F56ACD
split-complementary
#F5D86A #6ACDF5 #936AF5
monochromatic
#D6AD0E #F1C931 #F5D86A #F9E7A3 #FDF6DD

Accessibility & contrast

On white

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

On black

14.91
#F5D86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D86A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D86A#FFFFFF#000000##000000
##F5D86A1.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5d86a;
/* rgb */ color: rgb(245, 216, 106);
/* oklch */ color: oklch(88.5% 0.133 94.8);
Tailwind
colors: {
  custom: {
    50: '#fbe398',
    500: '#f5d86a',
    950: '#000000',
  },
}
SCSS
$custom: #f5d86a;
$custom-light: #fbe398;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d86a",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 106
  },
  "hsl": {
    "h": 47.482,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88512,
    "c": 0.13328,
    "h": 94.8
  },
  "luminance": 0.69565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5D86A

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

Preview Lab → · Contrast checker → · Palette generator →

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