#F5D160#F5D160

#F5D160 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 87.0% C 0.137 H 91.6°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#F5D160
RGBrgb(245, 209, 96)
HSLhsl(46, 88%, 67%)
HSVhsv(46, 61%, 96%)
CMYKcmyk(0%, 14.7%, 60.8%, 3.9%)
CIE-LABlab(84.93, -0.07, 59.42)
CIE-LCHlch(84.93, 59.42, 90.06°)
OKLaboklab(87.01% -0.0039 0.1368)
OKLCHoklch(87.01% 0.137 91.6)
XYZxyz(62.5709, 65.8613, 20.4808)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D160 #6084F5
analogous
#F58660 #F5D160 #CFF560
triadic
#F5D160 #60F5D1 #D160F5
tetradic
#F5D160 #60F586 #6084F5 #F560CF
square
#F5D160 #60F586 #6084F5 #F560CF
split-complementary
#F5D160 #60CFF5 #8660F5
monochromatic
#CE9F0D #F1C026 #F5D160 #F9E29A #FCF2D3

Accessibility & contrast

On white

1.48
#F5D160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#F5D160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D160
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D160#FFFFFF#000000##000000
##F5D1601.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE54
Deuteranopia (green-blind)
#EED865
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d160;
/* rgb */ color: rgb(245, 209, 96);
/* oklch */ color: oklch(87.0% 0.137 91.6);
Tailwind
colors: {
  custom: {
    50: '#fcde91',
    500: '#f5d160',
    950: '#000000',
  },
}
SCSS
$custom: #f5d160;
$custom-light: #fcde91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d160",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 96
  },
  "hsl": {
    "h": 45.503,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87012,
    "c": 0.13687,
    "h": 91.6
  },
  "luminance": 0.65858
}

Semantic roles & 50–950 ramp

primary
#F5D160
secondary
#3055C9
accent
#38E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D160

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

Preview Lab → · Contrast checker → · Palette generator →

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