#F7FA5F#F7FA5F

#F7FA5F is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.173 H 110.3°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#F7FA5F
RGBrgb(247, 250, 95)
HSLhsl(61, 94%, 68%)
HSVhsv(61, 62%, 98%)
CMYKcmyk(1.2%, 0%, 62%, 2%)
CIE-LABlab(95.57, -19.66, 71.43)
CIE-LCHlch(95.57, 74.09, 105.39°)
OKLaboklab(95.5% -0.0601 0.1621)
OKLCHoklch(95.5% 0.173 110.3)
XYZxyz(74.6112, 88.9735, 24.0675)
Luminance0.8897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FA5F #625FFA
analogous
#FAAF5F #F7FA5F #AAFA5F
triadic
#F7FA5F #5FF7FA #FA5FF7
tetradic
#F7FA5F #5FFAAF #625FFA #FA5FAA
square
#F7FA5F #5FFAAF #625FFA #FA5FAA
split-complementary
#F7FA5F #5FAAFA #AF5FFA
monochromatic
#D4D807 #F4F824 #F7FA5F #FAFC9A #FDFED6

Accessibility & contrast

On white

1.12
#F7FA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.79
#F7FA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FA5F
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FA5F#FFFFFF#000000##000000
##F7FA5F1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04B
Deuteranopia (green-blind)
#FFF469
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7fa5f;
/* rgb */ color: rgb(247, 250, 95);
/* oklch */ color: oklch(95.5% 0.173 110.3);
Tailwind
colors: {
  custom: {
    50: '#fdfb93',
    500: '#f7fa5f',
    950: '#000000',
  },
}
SCSS
$custom: #f7fa5f;
$custom-light: #fdfb93;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fa5f",
  "rgb": {
    "r": 247,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 61.161,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.95502,
    "c": 0.17292,
    "h": 110.3
  },
  "luminance": 0.88972
}

Semantic roles & 50–950 ramp

primary
#F7FA5F
secondary
#2F2BD2
accent
#00E604
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7FA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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