#F5F16D#F5F16D

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

Color values

HEX#F5F16D
RGBrgb(245, 241, 109)
HSLhsl(58, 87%, 69%)
HSVhsv(58, 56%, 96%)
CMYKcmyk(0%, 1.6%, 55.5%, 3.9%)
CIE-LABlab(93.20, -15.17, 62.97)
CIE-LCHlch(93.20, 64.77, 103.55°)
OKLaboklab(93.62% -0.0458 0.146)
OKLCHoklch(93.62% 0.153 107.4)
XYZxyz(71.8739, 83.4293, 26.7824)
Luminance0.8343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F16D #6D71F5
analogous
#F5AD6D #F5F16D #B5F56D
triadic
#F5F16D #6DF5F1 #F16DF5
tetradic
#F5F16D #6DF5AD #6D71F5 #F56DB5
square
#F5F16D #6DF5AD #6D71F5 #F56DB5
split-complementary
#F5F16D #6DB5F5 #AD6DF5
monochromatic
#D9D30F #F1EC34 #F5F16D #F9F6A6 #FDFCE0

Accessibility & contrast

On white

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

On black

17.69
#F5F16D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F16D
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F16D#FFFFFF#000000##000000
##F5F16D1.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f16d;
/* rgb */ color: rgb(245, 241, 109);
/* oklch */ color: oklch(93.6% 0.153 107.4);
Tailwind
colors: {
  custom: {
    50: '#fbf59b',
    500: '#f5f16d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f16d;
$custom-light: #fbf59b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f16d",
  "rgb": {
    "r": 245,
    "g": 241,
    "b": 109
  },
  "hsl": {
    "h": 58.235,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93615,
    "c": 0.15299,
    "h": 107.4
  },
  "luminance": 0.83427
}

Semantic roles & 50–950 ramp

primary
#F5F16D
secondary
#373CCF
accent
#08E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F16D

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

Preview Lab → · Contrast checker → · Palette generator →

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