#F5F76C#F5F76C

#F5F76C is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.8% C 0.160 H 109.9°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#F5F76C
RGBrgb(245, 247, 108)
HSLhsl(61, 90%, 70%)
HSVhsv(61, 56%, 97%)
CMYKcmyk(0.8%, 0%, 56.3%, 3.1%)
CIE-LABlab(94.75, -18.16, 65.13)
CIE-LCHlch(94.75, 67.62, 105.58°)
OKLaboklab(94.84% -0.0544 0.1505)
OKLCHoklch(94.84% 0.16 109.9)
XYZxyz(73.6257, 87.0186, 27.1023)
Luminance0.8702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F76C #6E6CF7
analogous
#F7B36C #F5F76C #B0F76C
triadic
#F5F76C #6CF5F7 #F76CF5
tetradic
#F5F76C #6CF7B3 #6E6CF7 #F76CB0
square
#F5F76C #6CF7B3 #6E6CF7 #F76CB0
split-complementary
#F5F76C #6CB0F7 #B36CF7
monochromatic
#DADD0C #F1F432 #F5F76C #F9FAA6 #FDFDE0

Accessibility & contrast

On white

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

On black

18.40
#F5F76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F76C
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F76C#FFFFFF#000000##000000
##F5F76C1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f76c;
/* rgb */ color: rgb(245, 247, 108);
/* oklch */ color: oklch(94.8% 0.160 109.9);
Tailwind
colors: {
  custom: {
    50: '#fbf99b',
    500: '#f5f76c',
    950: '#000000',
  },
}
SCSS
$custom: #f5f76c;
$custom-light: #fbf99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f76c",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 60.863,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94843,
    "c": 0.16001,
    "h": 109.9
  },
  "luminance": 0.87017
}

Semantic roles & 50–950 ramp

primary
#F5F76C
secondary
#3836D1
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F76C

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

Preview Lab → · Contrast checker → · Palette generator →

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