#F5E176#F5E176

#F5E176 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.130 H 98.9°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F5E176
RGBrgb(245, 225, 118)
HSLhsl(51, 86%, 71%)
HSVhsv(51, 52%, 96%)
CMYKcmyk(0%, 8.2%, 51.8%, 3.9%)
CIE-LABlab(89.19, -6.55, 54.25)
CIE-LCHlch(89.19, 54.64, 96.88°)
OKLaboklab(90.46% -0.0201 0.1281)
OKLCHoklch(90.46% 0.13 98.9)
XYZxyz(67.8536, 74.5735, 27.9560)
Luminance0.7457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E176 #768AF5
analogous
#F5A176 #F5E176 #C9F576
triadic
#F5E176 #76F5E1 #E176F5
tetradic
#F5E176 #76F5A1 #768AF5 #F576C9
square
#F5E176 #76F5A1 #768AF5 #F576C9
split-complementary
#F5E176 #76C9F5 #A176F5
monochromatic
#E0BF10 #F1D53D #F5E176 #F9EDAF #FDF9E2

Accessibility & contrast

On white

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

On black

15.91
#F5E176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E176
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E176#FFFFFF#000000##000000
##F5E1761.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6C
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e176;
/* rgb */ color: rgb(245, 225, 118);
/* oklch */ color: oklch(90.5% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#fbeaa0',
    500: '#f5e176',
    950: '#000000',
  },
}
SCSS
$custom: #f5e176;
$custom-light: #fbeaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e176",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 118
  },
  "hsl": {
    "h": 50.551,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9046,
    "c": 0.12964,
    "h": 98.9
  },
  "luminance": 0.74571
}

Semantic roles & 50–950 ramp

primary
#F5E176
secondary
#3F56D0
accent
#26E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E176

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

Preview Lab → · Contrast checker → · Palette generator →

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