#F5F76A#F5F76A

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

Color values

HEX#F5F76A
RGBrgb(245, 247, 106)
HSLhsl(61, 90%, 69%)
HSVhsv(61, 57%, 97%)
CMYKcmyk(0.8%, 0%, 57.1%, 3.1%)
CIE-LABlab(94.73, -18.30, 65.97)
CIE-LCHlch(94.73, 68.46, 105.50°)
OKLaboklab(94.82% -0.055 0.152)
OKLCHoklch(94.82% 0.162 109.9)
XYZxyz(73.5205, 86.9765, 26.5481)
Luminance0.8698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F76A #6C6AF7
analogous
#F7B36A #F5F76A #AFF76A
triadic
#F5F76A #6AF5F7 #F76AF5
tetradic
#F5F76A #6AF7B3 #6C6AF7 #F76AAF
square
#F5F76A #6AF7B3 #6C6AF7 #F76AAF
split-complementary
#F5F76A #6AAFF7 #B36AF7
monochromatic
#D8DB0C #F1F430 #F5F76A #F9FAA4 #FDFDDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F76A#FFFFFF#000000##000000
##F5F76A1.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)
#FFED5A
Deuteranopia (green-blind)
#FFF272
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f76a;
/* rgb */ color: rgb(245, 247, 106);
/* oklch */ color: oklch(94.8% 0.162 109.9);
Tailwind
colors: {
  custom: {
    50: '#fbf999',
    500: '#f5f76a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f76a;
$custom-light: #fbf999;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f76a",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 106
  },
  "hsl": {
    "h": 60.851,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94823,
    "c": 0.16166,
    "h": 109.9
  },
  "luminance": 0.86975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F76A

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

Preview Lab → · Contrast checker → · Palette generator →

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