#F9F477#F9F477

#F9F477 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.147 H 106.8°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#F9F477
RGBrgb(249, 244, 119)
HSLhsl(58, 92%, 72%)
HSVhsv(58, 52%, 98%)
CMYKcmyk(0%, 2%, 52.2%, 2.4%)
CIE-LABlab(94.39, -14.28, 59.97)
CIE-LCHlch(94.39, 61.65, 103.40°)
OKLaboklab(94.67% -0.0424 0.1405)
OKLCHoklch(94.67% 0.147 106.8)
XYZxyz(74.7494, 86.1751, 30.1451)
Luminance0.8617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F477 #777CF9
analogous
#F9B377 #F9F477 #BDF977
triadic
#F9F477 #77F9F4 #F477F9
tetradic
#F9F477 #77F9B3 #777CF9 #F977BD
square
#F9F477 #77F9B3 #777CF9 #F977BD
split-complementary
#F9F477 #77BDF9 #B377F9
monochromatic
#EBE30A #F6EF3C #F9F477 #FCF9B2 #FEFDE2

Accessibility & contrast

On white

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

On black

18.23
#F9F477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F477
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F477#FFFFFF#000000##000000
##F9F4771.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f477;
/* rgb */ color: rgb(249, 244, 119);
/* oklch */ color: oklch(94.7% 0.147 106.8);
Tailwind
colors: {
  custom: {
    50: '#fef7a1',
    500: '#f9f477',
    950: '#000000',
  },
}
SCSS
$custom: #f9f477;
$custom-light: #fef7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f477",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 57.692,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94666,
    "c": 0.14679,
    "h": 106.8
  },
  "luminance": 0.86173
}

Semantic roles & 50–950 ramp

primary
#F9F477
secondary
#3F45D5
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F477

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

Preview Lab → · Contrast checker → · Palette generator →

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