#F7FA4F#F7FA4F

#F7FA4F is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.4% C 0.184 H 110.4°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F7FA4F
RGBrgb(247, 250, 79)
HSLhsl(61, 94%, 65%)
HSVhsv(61, 68%, 98%)
CMYKcmyk(1.2%, 0%, 68.4%, 2%)
CIE-LABlab(95.46, -20.54, 77.31)
CIE-LCHlch(95.46, 80.00, 104.88°)
OKLaboklab(95.38% -0.0641 0.1721)
OKLCHoklch(95.38% 0.184 110.4)
XYZxyz(73.9571, 88.7119, 20.6229)
Luminance0.8871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FA4F #524FFA
analogous
#FAA84F #F7FA4F #A1FA4F
triadic
#F7FA4F #4FF7FA #FA4FF7
tetradic
#F7FA4F #4FFAA8 #524FFA #FA4FA1
square
#F7FA4F #4FFAA8 #524FFA #FA4FA1
split-complementary
#F7FA4F #4FA1FA #A84FFA
monochromatic
#C5C906 #F4F813 #F7FA4F #FAFC8B #FCFDC6

Accessibility & contrast

On white

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

On black

18.74
#F7FA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FA4F
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FA4F#FFFFFF#000000##000000
##F7FA4F1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF33
Deuteranopia (green-blind)
#FFF45B
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7fa4f;
/* rgb */ color: rgb(247, 250, 79);
/* oklch */ color: oklch(95.4% 0.184 110.4);
Tailwind
colors: {
  custom: {
    50: '#fefb8a',
    500: '#f7fa4f',
    950: '#000000',
  },
}
SCSS
$custom: #f7fa4f;
$custom-light: #fefb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fa4f",
  "rgb": {
    "r": 247,
    "g": 250,
    "b": 79
  },
  "hsl": {
    "h": 61.053,
    "s": 94.475,
    "l": 64.51
  },
  "oklch": {
    "l": 0.9538,
    "c": 0.18366,
    "h": 110.4
  },
  "luminance": 0.8871
}

Semantic roles & 50–950 ramp

primary
#F7FA4F
secondary
#2B28C5
accent
#00E604
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7FA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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