#F9F577#F9F577

#F9F577 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.148 H 107.3°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#F9F577
RGBrgb(249, 245, 119)
HSLhsl(58, 92%, 72%)
HSVhsv(58, 52%, 98%)
CMYKcmyk(0%, 1.6%, 52.2%, 2.4%)
CIE-LABlab(94.64, -14.77, 60.27)
CIE-LCHlch(94.64, 62.05, 103.77°)
OKLaboklab(94.87% -0.0438 0.1412)
OKLCHoklch(94.87% 0.148 107.3)
XYZxyz(75.0511, 86.7785, 30.2457)
Luminance0.8678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F577 #777BF9
analogous
#F9B477 #F9F577 #BCF977
triadic
#F9F577 #77F9F5 #F577F9
tetradic
#F9F577 #77F9B4 #777BF9 #F977BC
square
#F9F577 #77F9B4 #777BF9 #F977BC
split-complementary
#F9F577 #77BCF9 #B477F9
monochromatic
#EBE40A #F6F13C #F9F577 #FCF9B2 #FEFDE2

Accessibility & contrast

On white

1.14
#F9F577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#F9F577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F577
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F577#FFFFFF#000000##000000
##F9F5771.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6B
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f577;
/* rgb */ color: rgb(249, 245, 119);
/* oklch */ color: oklch(94.9% 0.148 107.3);
Tailwind
colors: {
  custom: {
    50: '#fef8a2',
    500: '#f9f577',
    950: '#000000',
  },
}
SCSS
$custom: #f9f577;
$custom-light: #fef8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f577",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 119
  },
  "hsl": {
    "h": 58.154,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94871,
    "c": 0.14781,
    "h": 107.3
  },
  "luminance": 0.86776
}

Semantic roles & 50–950 ramp

primary
#F9F577
secondary
#3F44D5
accent
#07E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F577

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

Preview Lab → · Contrast checker → · Palette generator →

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