#F9F374#F9F374

#F9F374 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.4% C 0.148 H 106.4°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#F9F374
RGBrgb(249, 243, 116)
HSLhsl(57, 92%, 72%)
HSVhsv(57, 53%, 98%)
CMYKcmyk(0%, 2.4%, 53.4%, 2.4%)
CIE-LABlab(94.10, -14.03, 60.98)
CIE-LCHlch(94.10, 62.58, 102.96°)
OKLaboklab(94.43% -0.042 0.1424)
OKLCHoklch(94.43% 0.148 106.4)
XYZxyz(74.2720, 85.5041, 29.1111)
Luminance0.8550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F374 #747AF9
analogous
#F9B174 #F9F374 #BDF974
triadic
#F9F374 #74F9F3 #F374F9
tetradic
#F9F374 #74F9B1 #747AF9 #F974BD
square
#F9F374 #74F9B1 #747AF9 #F974BD
split-complementary
#F9F374 #74BDF9 #B174F9
monochromatic
#E9DF0A #F6EE39 #F9F374 #FCF8AF #FEFCE2

Accessibility & contrast

On white

1.16
#F9F374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#F9F374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F374
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F374#FFFFFF#000000##000000
##F9F3741.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FFF17B
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f374;
/* rgb */ color: rgb(249, 243, 116);
/* oklch */ color: oklch(94.4% 0.148 106.4);
Tailwind
colors: {
  custom: {
    50: '#fef69f',
    500: '#f9f374',
    950: '#000000',
  },
}
SCSS
$custom: #f9f374;
$custom-light: #fef69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f374",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 116
  },
  "hsl": {
    "h": 57.293,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94428,
    "c": 0.14847,
    "h": 106.4
  },
  "luminance": 0.85502
}

Semantic roles & 50–950 ramp

primary
#F9F374
secondary
#3D43D5
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F374

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

Preview Lab → · Contrast checker → · Palette generator →

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