#F5E16C#F5E16C

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

Color values

HEX#F5E16C
RGBrgb(245, 225, 108)
HSLhsl(51, 87%, 69%)
HSVhsv(51, 56%, 96%)
CMYKcmyk(0%, 8.2%, 55.9%, 3.9%)
CIE-LABlab(89.09, -7.33, 58.73)
CIE-LCHlch(89.09, 59.19, 97.11°)
OKLaboklab(90.34% -0.0235 0.1368)
OKLCHoklch(90.34% 0.139 99.7)
XYZxyz(67.2906, 74.3483, 24.9906)
Luminance0.7435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E16C #6C80F5
analogous
#F59D6C #F5E16C #C5F56C
triadic
#F5E16C #6CF5E1 #E16CF5
tetradic
#F5E16C #6CF59D #6C80F5 #F56CC5
square
#F5E16C #6CF59D #6C80F5 #F56CC5
split-complementary
#F5E16C #6CC5F5 #9D6CF5
monochromatic
#D8BB0F #F1D533 #F5E16C #F9EDA5 #FDF8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5E16C#FFFFFF#000000##000000
##F5E16C1.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)
#F4DB60
Deuteranopia (green-blind)
#F9E372
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e16c;
/* rgb */ color: rgb(245, 225, 108);
/* oklch */ color: oklch(90.3% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#fbea99',
    500: '#f5e16c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e16c;
$custom-light: #fbea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e16c",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 108
  },
  "hsl": {
    "h": 51.241,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90342,
    "c": 0.13878,
    "h": 99.7
  },
  "luminance": 0.74346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5E16C

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

Preview Lab → · Contrast checker → · Palette generator →

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