#F5E16A#F5E16A

#F5E16A is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.141 H 99.9°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F5E16A
RGBrgb(245, 225, 106)
HSLhsl(51, 87%, 69%)
HSVhsv(51, 57%, 96%)
CMYKcmyk(0%, 8.2%, 56.7%, 3.9%)
CIE-LABlab(89.07, -7.48, 59.61)
CIE-LCHlch(89.07, 60.08, 97.15°)
OKLaboklab(90.32% -0.0241 0.1384)
OKLCHoklch(90.32% 0.141 99.9)
XYZxyz(67.1854, 74.3062, 24.4364)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E16A #6A7EF5
analogous
#F59C6A #F5E16A #C4F56A
triadic
#F5E16A #6AF5E1 #E16AF5
tetradic
#F5E16A #6AF59C #6A7EF5 #F56AC4
square
#F5E16A #6AF59C #6A7EF5 #F56AC4
split-complementary
#F5E16A #6AC4F5 #9C6AF5
monochromatic
#D6B90E #F1D531 #F5E16A #F9EDA3 #FDF8DD

Accessibility & contrast

On white

1.32
#F5E16A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#F5E16A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E16A
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E16A#FFFFFF#000000##000000
##F5E16A1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB5E
Deuteranopia (green-blind)
#F9E370
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e16a;
/* rgb */ color: rgb(245, 225, 106);
/* oklch */ color: oklch(90.3% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#fbea98',
    500: '#f5e16a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e16a;
$custom-light: #fbea98;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e16a",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 106
  },
  "hsl": {
    "h": 51.367,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9032,
    "c": 0.14053,
    "h": 99.9
  },
  "luminance": 0.74304
}

Semantic roles & 50–950 ramp

primary
#F5E16A
secondary
#354BCE
accent
#22E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E16A

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

Preview Lab → · Contrast checker → · Palette generator →

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