#F9F576#F9F576

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

Color values

HEX#F9F576
RGBrgb(249, 245, 118)
HSLhsl(58, 92%, 72%)
HSVhsv(58, 53%, 98%)
CMYKcmyk(0%, 1.6%, 52.6%, 2.4%)
CIE-LABlab(94.63, -14.85, 60.71)
CIE-LCHlch(94.63, 62.50, 103.75°)
OKLaboklab(94.86% -0.0442 0.142)
OKLCHoklch(94.86% 0.149 107.3)
XYZxyz(74.9914, 86.7546, 29.9310)
Luminance0.8675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F576 #767AF9
analogous
#F9B476 #F9F576 #BCF976
triadic
#F9F576 #76F9F5 #F576F9
tetradic
#F9F576 #76F9B4 #767AF9 #F976BC
square
#F9F576 #76F9B4 #767AF9 #F976BC
split-complementary
#F9F576 #76BCF9 #B476F9
monochromatic
#EAE30A #F6F13B #F9F576 #FCF9B1 #FEFDE2

Accessibility & contrast

On white

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

On black

18.35
#F9F576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F576
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F576#FFFFFF#000000##000000
##F9F5761.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f576;
/* rgb */ color: rgb(249, 245, 118);
/* oklch */ color: oklch(94.9% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#fef8a1',
    500: '#f9f576',
    950: '#000000',
  },
}
SCSS
$custom: #f9f576;
$custom-light: #fef8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f576",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 118
  },
  "hsl": {
    "h": 58.168,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9486,
    "c": 0.14872,
    "h": 107.3
  },
  "luminance": 0.86753
}

Semantic roles & 50–950 ramp

primary
#F9F576
secondary
#3E43D5
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F576

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

Preview Lab → · Contrast checker → · Palette generator →

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