#F5F76E#F5F76E

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

Color values

HEX#F5F76E
RGBrgb(245, 247, 110)
HSLhsl(61, 90%, 70%)
HSVhsv(61, 55%, 97%)
CMYKcmyk(0.8%, 0%, 55.5%, 3.1%)
CIE-LABlab(94.76, -18.01, 64.29)
CIE-LCHlch(94.76, 66.77, 105.65°)
OKLaboklab(94.86% -0.0537 0.1489)
OKLCHoklch(94.86% 0.158 109.8)
XYZxyz(73.7334, 87.0616, 27.6693)
Luminance0.8706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F76E #706EF7
analogous
#F7B56E #F5F76E #B0F76E
triadic
#F5F76E #6EF5F7 #F76EF5
tetradic
#F5F76E #6EF7B5 #706EF7 #F76EB0
square
#F5F76E #6EF7B5 #706EF7 #F76EB0
split-complementary
#F5F76E #6EB0F7 #B56EF7
monochromatic
#DBDE0C #F1F434 #F5F76E #F9FAA8 #FDFDE2

Accessibility & contrast

On white

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

On black

18.41
#F5F76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F76E
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F76E#FFFFFF#000000##000000
##F5F76E1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f76e;
/* rgb */ color: rgb(245, 247, 110);
/* oklch */ color: oklch(94.9% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#fbf99c',
    500: '#f5f76e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f76e;
$custom-light: #fbf99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f76e",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 110
  },
  "hsl": {
    "h": 60.876,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.94863,
    "c": 0.15833,
    "h": 109.8
  },
  "luminance": 0.8706
}

Semantic roles & 50–950 ramp

primary
#F5F76E
secondary
#3A38D1
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F76E

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

Preview Lab → · Contrast checker → · Palette generator →

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