#F5E86A#F5E86A

#F5E86A is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.147 H 103.4°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F5E86A
RGBrgb(245, 232, 106)
HSLhsl(54, 87%, 69%)
HSVhsv(54, 57%, 96%)
CMYKcmyk(0%, 5.3%, 56.7%, 3.9%)
CIE-LABlab(90.86, -10.96, 61.64)
CIE-LCHlch(90.86, 62.60, 100.09°)
OKLaboklab(91.74% -0.0341 0.1428)
OKLCHoklch(91.74% 0.147 103.4)
XYZxyz(69.1166, 78.1687, 25.0802)
Luminance0.7817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E86A #6A77F5
analogous
#F5A36A #F5E86A #BDF56A
triadic
#F5E86A #6AF5E8 #E86AF5
tetradic
#F5E86A #6AF5A3 #6A77F5 #F56ABD
square
#F5E86A #6AF5A3 #6A77F5 #F56ABD
split-complementary
#F5E86A #6ABDF5 #A36AF5
monochromatic
#D6C40E #F1DF31 #F5E86A #F9F1A3 #FDFADD

Accessibility & contrast

On white

1.26
#F5E86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F5E86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E86A
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E86A#FFFFFF#000000##000000
##F5E86A1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15D
Deuteranopia (green-blind)
#FFE870
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e86a;
/* rgb */ color: rgb(245, 232, 106);
/* oklch */ color: oklch(91.7% 0.147 103.4);
Tailwind
colors: {
  custom: {
    50: '#fbef99',
    500: '#f5e86a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e86a;
$custom-light: #fbef99;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e86a",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 106
  },
  "hsl": {
    "h": 54.388,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9174,
    "c": 0.14681,
    "h": 103.4
  },
  "luminance": 0.78166
}

Semantic roles & 50–950 ramp

primary
#F5E86A
secondary
#3543CE
accent
#17E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5E86A

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

Preview Lab → · Contrast checker → · Palette generator →

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