#F5F160#F5F160

#F5F160 is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.5% C 0.164 H 107.7°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#F5F160
RGBrgb(245, 241, 96)
HSLhsl(58, 88%, 67%)
HSVhsv(58, 61%, 96%)
CMYKcmyk(0%, 1.6%, 60.8%, 3.9%)
CIE-LABlab(93.09, -16.06, 68.35)
CIE-LCHlch(93.09, 70.21, 103.22°)
OKLaboklab(93.49% -0.0497 0.1558)
OKLCHoklch(93.49% 0.164 107.7)
XYZxyz(71.2251, 83.1698, 23.3655)
Luminance0.8317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F160 #6064F5
analogous
#F5A760 #F5F160 #AFF560
triadic
#F5F160 #60F5F1 #F160F5
tetradic
#F5F160 #60F5A7 #6064F5 #F560AF
square
#F5F160 #60F5A7 #6064F5 #F560AF
split-complementary
#F5F160 #60AFF5 #A760F5
monochromatic
#CEC80D #F1EC26 #F5F160 #F9F69A #FCFBD3

Accessibility & contrast

On white

1.19
#F5F160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#F5F160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F160
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F160#FFFFFF#000000##000000
##F5F1601.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84F
Deuteranopia (green-blind)
#FFEE69
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f160;
/* rgb */ color: rgb(245, 241, 96);
/* oklch */ color: oklch(93.5% 0.164 107.7);
Tailwind
colors: {
  custom: {
    50: '#fcf593',
    500: '#f5f160',
    950: '#000000',
  },
}
SCSS
$custom: #f5f160;
$custom-light: #fcf593;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f160",
  "rgb": {
    "r": 245,
    "g": 241,
    "b": 96
  },
  "hsl": {
    "h": 58.389,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93488,
    "c": 0.16352,
    "h": 107.7
  },
  "luminance": 0.83168
}

Semantic roles & 50–950 ramp

primary
#F5F160
secondary
#3034C9
accent
#07E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F160

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

Preview Lab → · Contrast checker → · Palette generator →

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