#F7FA52#F7FA52

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

Color values

HEX#F7FA52
RGBrgb(247, 250, 82)
HSLhsl(61, 94%, 65%)
HSVhsv(61, 67%, 98%)
CMYKcmyk(1.2%, 0%, 67.2%, 2%)
CIE-LABlab(95.48, -20.39, 76.27)
CIE-LCHlch(95.48, 78.94, 104.97°)
OKLaboklab(95.4% -0.0634 0.1704)
OKLCHoklch(95.4% 0.182 110.4)
XYZxyz(74.0688, 88.7566, 21.2110)
Luminance0.8875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FA52 #5552FA
analogous
#FAA952 #F7FA52 #A3FA52
triadic
#F7FA52 #52F7FA #FA52F7
tetradic
#F7FA52 #52FAA9 #5552FA #FA52A3
square
#F7FA52 #52FAA9 #5552FA #FA52A3
split-complementary
#F7FA52 #52A3FA #A952FA
monochromatic
#C8CC06 #F4F817 #F7FA52 #FAFC8D #FDFDC9

Accessibility & contrast

On white

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

On black

18.75
#F7FA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FA52
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FA52#FFFFFF#000000##000000
##F7FA521.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF38
Deuteranopia (green-blind)
#FFF45E
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7fa52;
/* rgb */ color: rgb(247, 250, 82);
/* oklch */ color: oklch(95.4% 0.182 110.4);
Tailwind
colors: {
  custom: {
    50: '#fefb8c',
    500: '#f7fa52',
    950: '#000000',
  },
}
SCSS
$custom: #f7fa52;
$custom-light: #fefb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fa52",
  "rgb": {
    "r": 247,
    "g": 250,
    "b": 82
  },
  "hsl": {
    "h": 61.071,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.95401,
    "c": 0.1818,
    "h": 110.4
  },
  "luminance": 0.88755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7FA52

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

Preview Lab → · Contrast checker → · Palette generator →

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