#F5F776#F5F776

#F5F776 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.0% C 0.151 H 109.8°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#F5F776
RGBrgb(245, 247, 118)
HSLhsl(61, 89%, 72%)
HSVhsv(61, 52%, 97%)
CMYKcmyk(0.8%, 0%, 52.2%, 3.1%)
CIE-LABlab(94.84, -17.40, 60.87)
CIE-LCHlch(94.84, 63.30, 105.95°)
OKLaboklab(94.95% -0.0512 0.1424)
OKLCHoklch(94.95% 0.151 109.8)
XYZxyz(74.1888, 87.2438, 30.0677)
Luminance0.8724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F776 #7876F7
analogous
#F7B976 #F5F776 #B5F776
triadic
#F5F776 #76F5F7 #F776F5
tetradic
#F5F776 #76F7B9 #7876F7 #F776B5
square
#F5F776 #76F7B9 #7876F7 #F776B5
split-complementary
#F5F776 #76B5F7 #B976F7
monochromatic
#E2E50D #F1F43C #F5F776 #F9FAB0 #FDFDE2

Accessibility & contrast

On white

1.14
#F5F776 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#F5F776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F776
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F776#FFFFFF#000000##000000
##F5F7761.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE69
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f776;
/* rgb */ color: rgb(245, 247, 118);
/* oklch */ color: oklch(95.0% 0.151 109.8);
Tailwind
colors: {
  custom: {
    50: '#fbf9a1',
    500: '#f5f776',
    950: '#000000',
  },
}
SCSS
$custom: #f5f776;
$custom-light: #fbf9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f776",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 118
  },
  "hsl": {
    "h": 60.93,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9495,
    "c": 0.15134,
    "h": 109.8
  },
  "luminance": 0.87242
}

Semantic roles & 50–950 ramp

primary
#F5F776
secondary
#413FD2
accent
#00E604
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F776

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

Preview Lab → · Contrast checker → · Palette generator →

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