#F9FC52#F9FC52

#F9FC52 is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.0% C 0.183 H 110.4°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#F9FC52
RGBrgb(249, 252, 82)
HSLhsl(61, 97%, 65%)
HSVhsv(61, 67%, 99%)
CMYKcmyk(1.2%, 0%, 67.5%, 1.2%)
CIE-LABlab(96.15, -20.54, 76.99)
CIE-LCHlch(96.15, 79.68, 104.94°)
OKLaboklab(95.98% -0.0639 0.1719)
OKLCHoklch(95.98% 0.183 110.4)
XYZxyz(75.4028, 90.3718, 21.4525)
Luminance0.9037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FC52 #5552FC
analogous
#FCAA52 #F9FC52 #A4FC52
triadic
#F9FC52 #52F9FC #FC52F9
tetradic
#F9FC52 #52FCAA #5552FC #FC52A4
square
#F9FC52 #52FCAA #5552FC #FC52A4
split-complementary
#F9FC52 #52A4FC #AA52FC
monochromatic
#CCD004 #F7FB16 #F9FC52 #FBFD8E #FDFECA

Accessibility & contrast

On white

1.10
#F9FC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.07
#F9FC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FC52
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FC52#FFFFFF#000000##000000
##F9FC521.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF137
Deuteranopia (green-blind)
#FFF65E
Tritanopia (blue-blind)
#FFEDDA
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f9fc52;
/* rgb */ color: rgb(249, 252, 82);
/* oklch */ color: oklch(96.0% 0.183 110.4);
Tailwind
colors: {
  custom: {
    50: '#fffd8c',
    500: '#f9fc52',
    950: '#000000',
  },
}
SCSS
$custom: #f9fc52;
$custom-light: #fffd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fc52",
  "rgb": {
    "r": 249,
    "g": 252,
    "b": 82
  },
  "hsl": {
    "h": 61.059,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.95975,
    "c": 0.18335,
    "h": 110.4
  },
  "luminance": 0.9037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9FC52

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

Preview Lab → · Contrast checker → · Palette generator →

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