#F5F16B#F5F16B

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

Color values

HEX#F5F16B
RGBrgb(245, 241, 107)
HSLhsl(58, 87%, 69%)
HSVhsv(58, 56%, 96%)
CMYKcmyk(0%, 1.6%, 56.3%, 3.9%)
CIE-LABlab(93.18, -15.32, 63.82)
CIE-LCHlch(93.18, 65.63, 103.50°)
OKLaboklab(93.59% -0.0464 0.1476)
OKLCHoklch(93.59% 0.155 107.5)
XYZxyz(71.7675, 83.3867, 26.2218)
Luminance0.8338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F16B #6B6FF5
analogous
#F5AC6B #F5F16B #B4F56B
triadic
#F5F16B #6BF5F1 #F16BF5
tetradic
#F5F16B #6BF5AC #6B6FF5 #F56BB4
square
#F5F16B #6BF5AC #6B6FF5 #F56BB4
split-complementary
#F5F16B #6BB4F5 #AC6BF5
monochromatic
#D7D10F #F1EC32 #F5F16B #F9F6A4 #FDFCDE

Accessibility & contrast

On white

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

On black

17.68
#F5F16B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F16B
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F16B#FFFFFF#000000##000000
##F5F16B1.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f16b;
/* rgb */ color: rgb(245, 241, 107);
/* oklch */ color: oklch(93.6% 0.155 107.5);
Tailwind
colors: {
  custom: {
    50: '#fbf59a',
    500: '#f5f16b',
    950: '#000000',
  },
}
SCSS
$custom: #f5f16b;
$custom-light: #fbf59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f16b",
  "rgb": {
    "r": 245,
    "g": 241,
    "b": 107
  },
  "hsl": {
    "h": 58.261,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93594,
    "c": 0.15469,
    "h": 107.5
  },
  "luminance": 0.83385
}

Semantic roles & 50–950 ramp

primary
#F5F16B
secondary
#363ACE
accent
#08E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F16B

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

Preview Lab → · Contrast checker → · Palette generator →

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