#F5F76F#F5F76F

#F5F76F is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.9% C 0.157 H 109.8°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#F5F76F
RGBrgb(245, 247, 111)
HSLhsl(61, 89%, 70%)
HSVhsv(61, 55%, 97%)
CMYKcmyk(0.8%, 0%, 55.1%, 3.1%)
CIE-LABlab(94.77, -17.94, 63.87)
CIE-LCHlch(94.77, 66.34, 105.69°)
OKLaboklab(94.87% -0.0534 0.1481)
OKLCHoklch(94.87% 0.157 109.8)
XYZxyz(73.7881, 87.0835, 27.9577)
Luminance0.8708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F76F #716FF7
analogous
#F7B56F #F5F76F #B1F76F
triadic
#F5F76F #6FF5F7 #F76FF5
tetradic
#F5F76F #6FF7B5 #716FF7 #F76FB1
square
#F5F76F #6FF7B5 #716FF7 #F76FB1
split-complementary
#F5F76F #6FB1F7 #B56FF7
monochromatic
#DCDF0C #F1F435 #F5F76F #F9FAA9 #FDFDE2

Accessibility & contrast

On white

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

On black

18.42
#F5F76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F76F
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F76F#FFFFFF#000000##000000
##F5F76F1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE61
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f76f;
/* rgb */ color: rgb(245, 247, 111);
/* oklch */ color: oklch(94.9% 0.157 109.8);
Tailwind
colors: {
  custom: {
    50: '#fbf99d',
    500: '#f5f76f',
    950: '#000000',
  },
}
SCSS
$custom: #f5f76f;
$custom-light: #fbf99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f76f",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 60.882,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94874,
    "c": 0.15748,
    "h": 109.8
  },
  "luminance": 0.87082
}

Semantic roles & 50–950 ramp

primary
#F5F76F
secondary
#3B39D1
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F76F

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

Preview Lab → · Contrast checker → · Palette generator →

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