#F5E16D#F5E16D

#F5E16D is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.4% C 0.138 H 99.7°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#F5E16D
RGBrgb(245, 225, 109)
HSLhsl(51, 87%, 69%)
HSVhsv(51, 56%, 96%)
CMYKcmyk(0%, 8.2%, 55.5%, 3.9%)
CIE-LABlab(89.10, -7.25, 58.29)
CIE-LCHlch(89.10, 58.74, 97.09°)
OKLaboklab(90.35% -0.0231 0.1359)
OKLCHoklch(90.35% 0.138 99.7)
XYZxyz(67.3441, 74.3697, 25.2725)
Luminance0.7437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E16D #6D81F5
analogous
#F59D6D #F5E16D #C5F56D
triadic
#F5E16D #6DF5E1 #E16DF5
tetradic
#F5E16D #6DF59D #6D81F5 #F56DC5
square
#F5E16D #6DF59D #6D81F5 #F56DC5
split-complementary
#F5E16D #6DC5F5 #9D6DF5
monochromatic
#D9BB0F #F1D534 #F5E16D #F9EDA6 #FDF9E0

Accessibility & contrast

On white

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

On black

15.87
#F5E16D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E16D
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E16D#FFFFFF#000000##000000
##F5E16D1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e16d;
/* rgb */ color: rgb(245, 225, 109);
/* oklch */ color: oklch(90.4% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#fbea9a',
    500: '#f5e16d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e16d;
$custom-light: #fbea9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e16d",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 109
  },
  "hsl": {
    "h": 51.176,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90353,
    "c": 0.13789,
    "h": 99.7
  },
  "luminance": 0.74367
}

Semantic roles & 50–950 ramp

primary
#F5E16D
secondary
#374ECF
accent
#23E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E16D

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

Preview Lab → · Contrast checker → · Palette generator →

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