#F9F47C#F9F47C

#F9F47C is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.7% C 0.142 H 106.7°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F9F47C
RGBrgb(249, 244, 124)
HSLhsl(58, 91%, 73%)
HSVhsv(58, 50%, 98%)
CMYKcmyk(0%, 2%, 50.2%, 2.4%)
CIE-LABlab(94.44, -13.88, 57.76)
CIE-LCHlch(94.44, 59.41, 103.51°)
OKLaboklab(94.73% -0.0408 0.1362)
OKLCHoklch(94.73% 0.142 106.7)
XYZxyz(75.0576, 86.2984, 31.7683)
Luminance0.8630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F47C #7C81F9
analogous
#F9B57C #F9F47C #BFF97C
triadic
#F9F47C #7CF9F4 #F47CF9
tetradic
#F9F47C #7CF9B5 #7C81F9 #F97CBF
square
#F9F47C #7CF9B5 #7C81F9 #F97CBF
split-complementary
#F9F47C #7CBFF9 #B57CF9
monochromatic
#F0E60B #F6EF41 #F9F47C #FCF9B7 #FEFDE2

Accessibility & contrast

On white

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

On black

18.26
#F9F47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F47C
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F47C#FFFFFF#000000##000000
##F9F47C1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f47c;
/* rgb */ color: rgb(249, 244, 124);
/* oklch */ color: oklch(94.7% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#fdf7a5',
    500: '#f9f47c',
    950: '#000000',
  },
}
SCSS
$custom: #f9f47c;
$custom-light: #fdf7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f47c",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 124
  },
  "hsl": {
    "h": 57.6,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94725,
    "c": 0.14217,
    "h": 106.7
  },
  "luminance": 0.86296
}

Semantic roles & 50–950 ramp

primary
#F9F47C
secondary
#4449D6
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F47C

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

Preview Lab → · Contrast checker → · Palette generator →

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