#F9F674#F9F674

#F9F674 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.152 H 107.8°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F9F674
RGBrgb(249, 246, 116)
HSLhsl(59, 92%, 72%)
HSVhsv(59, 53%, 98%)
CMYKcmyk(0%, 1.2%, 53.4%, 2.4%)
CIE-LABlab(94.87, -15.49, 61.87)
CIE-LCHlch(94.87, 63.78, 104.06°)
OKLaboklab(95.04% -0.0462 0.1443)
OKLCHoklch(95.04% 0.152 107.8)
XYZxyz(75.1771, 87.3143, 29.4128)
Luminance0.8731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F674 #7477F9
analogous
#F9B474 #F9F674 #BAF974
triadic
#F9F674 #74F9F6 #F674F9
tetradic
#F9F674 #74F9B4 #7477F9 #F974BA
square
#F9F674 #74F9B4 #7477F9 #F974BA
split-complementary
#F9F674 #74BAF9 #B474F9
monochromatic
#E9E40A #F6F239 #F9F674 #FCFAAF #FEFDE2

Accessibility & contrast

On white

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

On black

18.46
#F9F674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F674
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F674#FFFFFF#000000##000000
##F9F6741.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FFF37B
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f674;
/* rgb */ color: rgb(249, 246, 116);
/* oklch */ color: oklch(95.0% 0.152 107.8);
Tailwind
colors: {
  custom: {
    50: '#fef9a0',
    500: '#f9f674',
    950: '#000000',
  },
}
SCSS
$custom: #f9f674;
$custom-light: #fef9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f674",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 58.647,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95042,
    "c": 0.15152,
    "h": 107.8
  },
  "luminance": 0.87312
}

Semantic roles & 50–950 ramp

primary
#F9F674
secondary
#3D40D5
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F674

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

Preview Lab → · Contrast checker → · Palette generator →

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