#F5E86C#F5E86C

#F5E86C is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.8% C 0.145 H 103.3°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#F5E86C
RGBrgb(245, 232, 108)
HSLhsl(54, 87%, 69%)
HSVhsv(54, 56%, 96%)
CMYKcmyk(0%, 5.3%, 55.9%, 3.9%)
CIE-LABlab(90.88, -10.82, 60.77)
CIE-LCHlch(90.88, 61.73, 100.09°)
OKLaboklab(91.76% -0.0335 0.1412)
OKLCHoklch(91.76% 0.145 103.3)
XYZxyz(69.2219, 78.2108, 25.6343)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E86C #6C79F5
analogous
#F5A46C #F5E86C #BDF56C
triadic
#F5E86C #6CF5E8 #E86CF5
tetradic
#F5E86C #6CF5A4 #6C79F5 #F56CBD
square
#F5E86C #6CF5A4 #6C79F5 #F56CBD
split-complementary
#F5E86C #6CBDF5 #A46CF5
monochromatic
#D8C50F #F1DF33 #F5E86C #F9F1A5 #FDFADF

Accessibility & contrast

On white

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

On black

16.64
#F5E86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E86C
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E86C#FFFFFF#000000##000000
##F5E86C1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15F
Deuteranopia (green-blind)
#FFE872
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e86c;
/* rgb */ color: rgb(245, 232, 108);
/* oklch */ color: oklch(91.8% 0.145 103.3);
Tailwind
colors: {
  custom: {
    50: '#fbef9a',
    500: '#f5e86c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e86c;
$custom-light: #fbef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e86c",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 108
  },
  "hsl": {
    "h": 54.307,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91761,
    "c": 0.14508,
    "h": 103.3
  },
  "luminance": 0.78208
}

Semantic roles & 50–950 ramp

primary
#F5E86C
secondary
#3745CF
accent
#17E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5E86C

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

Preview Lab → · Contrast checker → · Palette generator →

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