#F5E86E#F5E86E

#F5E86E is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.8% C 0.143 H 103.2°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#F5E86E
RGBrgb(245, 232, 110)
HSLhsl(54, 87%, 70%)
HSVhsv(54, 55%, 96%)
CMYKcmyk(0%, 5.3%, 55.1%, 3.9%)
CIE-LABlab(90.90, -10.67, 59.90)
CIE-LCHlch(90.90, 60.85, 100.10°)
OKLaboklab(91.78% -0.0328 0.1395)
OKLCHoklch(91.78% 0.143 103.2)
XYZxyz(69.3295, 78.2539, 26.2014)
Luminance0.7825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E86E #6E7BF5
analogous
#F5A46E #F5E86E #BFF56E
triadic
#F5E86E #6EF5E8 #E86EF5
tetradic
#F5E86E #6EF5A4 #6E7BF5 #F56EBF
square
#F5E86E #6EF5A4 #6E7BF5 #F56EBF
split-complementary
#F5E86E #6EBFF5 #A46EF5
monochromatic
#DAC60F #F1DF35 #F5E86E #F9F1A7 #FDFAE1

Accessibility & contrast

On white

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

On black

16.65
#F5E86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E86E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E86E#FFFFFF#000000##000000
##F5E86E1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e86e;
/* rgb */ color: rgb(245, 232, 110);
/* oklch */ color: oklch(91.8% 0.143 103.2);
Tailwind
colors: {
  custom: {
    50: '#fbef9b',
    500: '#f5e86e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e86e;
$custom-light: #fbef9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e86e",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 110
  },
  "hsl": {
    "h": 54.222,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91783,
    "c": 0.14333,
    "h": 103.2
  },
  "luminance": 0.78251
}

Semantic roles & 50–950 ramp

primary
#F5E86E
secondary
#3847CF
accent
#18E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5E86E

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

Preview Lab → · Contrast checker → · Palette generator →

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