#F9F46C#F9F46C

#F9F46C is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.156 H 107.1°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#F9F46C
RGBrgb(249, 244, 108)
HSLhsl(58, 92%, 70%)
HSVhsv(58, 57%, 98%)
CMYKcmyk(0%, 2%, 56.6%, 2.4%)
CIE-LABlab(94.28, -15.11, 64.70)
CIE-LCHlch(94.28, 66.44, 103.15°)
OKLaboklab(94.55% -0.0459 0.1495)
OKLCHoklch(94.55% 0.156 107.1)
XYZxyz(74.1266, 85.9260, 26.8651)
Luminance0.8592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F46C #6C71F9
analogous
#F9AD6C #F9F46C #B8F96C
triadic
#F9F46C #6CF9F4 #F46CF9
tetradic
#F9F46C #6CF9AD #6C71F9 #F96CB8
square
#F9F46C #6CF9AD #6C71F9 #F96CB8
split-complementary
#F9F46C #6CB8F9 #AD6CF9
monochromatic
#E1DA09 #F7F031 #F9F46C #FBF8A7 #FEFDE2

Accessibility & contrast

On white

1.15
#F9F46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#F9F46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F46C
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F46C#FFFFFF#000000##000000
##F9F46C1.001.1518.1818.18
#FFFFFF1.151.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5D
Deuteranopia (green-blind)
#FFF173
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f46c;
/* rgb */ color: rgb(249, 244, 108);
/* oklch */ color: oklch(94.5% 0.156 107.1);
Tailwind
colors: {
  custom: {
    50: '#fef79b',
    500: '#f9f46c',
    950: '#000000',
  },
}
SCSS
$custom: #f9f46c;
$custom-light: #fef79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f46c",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 57.872,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.94547,
    "c": 0.15639,
    "h": 107.1
  },
  "luminance": 0.85924
}

Semantic roles & 50–950 ramp

primary
#F9F46C
secondary
#363BD4
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F46C

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

Preview Lab → · Contrast checker → · Palette generator →

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