#F5F16A#F5F16A

#F5F16A is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.6% C 0.156 H 107.5°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#F5F16A
RGBrgb(245, 241, 106)
HSLhsl(58, 87%, 69%)
HSVhsv(58, 57%, 96%)
CMYKcmyk(0%, 1.6%, 56.7%, 3.9%)
CIE-LABlab(93.17, -15.39, 64.24)
CIE-LCHlch(93.17, 66.05, 103.47°)
OKLaboklab(93.58% -0.0467 0.1484)
OKLCHoklch(93.58% 0.156 107.5)
XYZxyz(71.7152, 83.3658, 25.9464)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F16A #6A6EF5
analogous
#F5AC6A #F5F16A #B4F56A
triadic
#F5F16A #6AF5F1 #F16AF5
tetradic
#F5F16A #6AF5AC #6A6EF5 #F56AB4
square
#F5F16A #6AF5AC #6A6EF5 #F56AB4
split-complementary
#F5F16A #6AB4F5 #AC6AF5
monochromatic
#D6D00E #F1EC31 #F5F16A #F9F6A3 #FDFCDD

Accessibility & contrast

On white

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

On black

17.67
#F5F16A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F16A
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F16A#FFFFFF#000000##000000
##F5F16A1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85B
Deuteranopia (green-blind)
#FFEE71
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f16a;
/* rgb */ color: rgb(245, 241, 106);
/* oklch */ color: oklch(93.6% 0.156 107.5);
Tailwind
colors: {
  custom: {
    50: '#fbf599',
    500: '#f5f16a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f16a;
$custom-light: #fbf599;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f16a",
  "rgb": {
    "r": 245,
    "g": 241,
    "b": 106
  },
  "hsl": {
    "h": 58.273,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93584,
    "c": 0.15553,
    "h": 107.5
  },
  "luminance": 0.83364
}

Semantic roles & 50–950 ramp

primary
#F5F16A
secondary
#3539CE
accent
#08E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F16A

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

Preview Lab → · Contrast checker → · Palette generator →

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