#F5E476#F5E476

#F5E476 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.132 H 100.7°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#F5E476
RGBrgb(245, 228, 118)
HSLhsl(52, 86%, 71%)
HSVhsv(52, 52%, 96%)
CMYKcmyk(0%, 6.9%, 51.8%, 3.9%)
CIE-LABlab(89.96, -8.05, 55.16)
CIE-LCHlch(89.96, 55.74, 98.30°)
OKLaboklab(91.07% -0.0245 0.13)
OKLCHoklch(91.07% 0.132 100.7)
XYZxyz(68.6718, 76.2098, 28.2287)
Luminance0.7621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E476 #7687F5
analogous
#F5A476 #F5E476 #C6F576
triadic
#F5E476 #76F5E4 #E476F5
tetradic
#F5E476 #76F5A4 #7687F5 #F576C6
square
#F5E476 #76F5A4 #7687F5 #F576C6
split-complementary
#F5E476 #76C6F5 #A476F5
monochromatic
#E0C410 #F1D93D #F5E476 #F9EFAF #FDF9E2

Accessibility & contrast

On white

1.29
#F5E476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#F5E476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E476
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E476#FFFFFF#000000##000000
##F5E4761.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6C
Deuteranopia (green-blind)
#FBE57B
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e476;
/* rgb */ color: rgb(245, 228, 118);
/* oklch */ color: oklch(91.1% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#fbeca0',
    500: '#f5e476',
    950: '#000000',
  },
}
SCSS
$custom: #f5e476;
$custom-light: #fbeca0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e476",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 118
  },
  "hsl": {
    "h": 51.969,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91065,
    "c": 0.13232,
    "h": 100.7
  },
  "luminance": 0.76207
}

Semantic roles & 50–950 ramp

primary
#F5E476
secondary
#3F53D0
accent
#21E303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E476

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

Preview Lab → · Contrast checker → · Palette generator →

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