#F7FB5F#F7FB5F

#F7FB5F is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.7% C 0.174 H 110.7°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#F7FB5F
RGBrgb(247, 251, 95)
HSLhsl(62, 95%, 68%)
HSVhsv(62, 62%, 98%)
CMYKcmyk(1.6%, 0%, 62.2%, 1.6%)
CIE-LABlab(95.83, -20.14, 71.71)
CIE-LCHlch(95.83, 74.48, 105.69°)
OKLaboklab(95.71% -0.0614 0.1627)
OKLCHoklch(95.71% 0.174 110.7)
XYZxyz(74.9227, 89.5966, 24.1714)
Luminance0.8960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FB5F #635FFB
analogous
#FBB15F #F7FB5F #A9FB5F
triadic
#F7FB5F #5FF7FB #FB5FF7
tetradic
#F7FB5F #5FFBB1 #635FFB #FB5FA9
square
#F7FB5F #5FFBB1 #635FFB #FB5FA9
split-complementary
#F7FB5F #5FA9FB #B15FFB
monochromatic
#D5DA05 #F4FA23 #F7FB5F #FAFC9B #FDFED6

Accessibility & contrast

On white

1.11
#F7FB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.92
#F7FB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FB5F
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FB5F#FFFFFF#000000##000000
##F7FB5F1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14B
Deuteranopia (green-blind)
#FFF569
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f7fb5f;
/* rgb */ color: rgb(247, 251, 95);
/* oklch */ color: oklch(95.7% 0.174 110.7);
Tailwind
colors: {
  custom: {
    50: '#fdfc93',
    500: '#f7fb5f',
    950: '#000000',
  },
}
SCSS
$custom: #f7fb5f;
$custom-light: #fdfc93;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fb5f",
  "rgb": {
    "r": 247,
    "g": 251,
    "b": 95
  },
  "hsl": {
    "h": 61.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9571,
    "c": 0.17393,
    "h": 110.7
  },
  "luminance": 0.89595
}

Semantic roles & 50–950 ramp

primary
#F7FB5F
secondary
#2F2AD4
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7FB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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