#F9F774#F9F774

#F9F774 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.153 H 108.2°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#F9F774
RGBrgb(249, 247, 116)
HSLhsl(59, 92%, 72%)
HSVhsv(59, 53%, 98%)
CMYKcmyk(0%, 0.8%, 53.4%, 2.4%)
CIE-LABlab(95.13, -15.98, 62.17)
CIE-LCHlch(95.13, 64.19, 104.41°)
OKLaboklab(95.25% -0.0476 0.145)
OKLCHoklch(95.25% 0.153 108.2)
XYZxyz(75.4821, 87.9242, 29.5145)
Luminance0.8792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F774 #7476F9
analogous
#F9B574 #F9F774 #B9F974
triadic
#F9F774 #74F9F7 #F774F9
tetradic
#F9F774 #74F9B5 #7476F9 #F974B9
square
#F9F774 #74F9B5 #7476F9 #F974B9
split-complementary
#F9F774 #74B9F9 #B574F9
monochromatic
#E9E50A #F6F439 #F9F774 #FCFAAF #FEFDE2

Accessibility & contrast

On white

1.13
#F9F774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#F9F774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F774
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F774#FFFFFF#000000##000000
##F9F7741.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE67
Deuteranopia (green-blind)
#FFF37B
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f774;
/* rgb */ color: rgb(249, 247, 116);
/* oklch */ color: oklch(95.2% 0.153 108.2);
Tailwind
colors: {
  custom: {
    50: '#fef9a0',
    500: '#f9f774',
    950: '#000000',
  },
}
SCSS
$custom: #f9f774;
$custom-light: #fef9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f774",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 59.098,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95247,
    "c": 0.15256,
    "h": 108.2
  },
  "luminance": 0.87922
}

Semantic roles & 50–950 ramp

primary
#F9F774
secondary
#3D3FD5
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F774

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

Preview Lab → · Contrast checker → · Palette generator →

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