#F9F377#F9F377

#F9F377 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.146 H 106.4°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#F9F377
RGBrgb(249, 243, 119)
HSLhsl(57, 92%, 72%)
HSVhsv(57, 52%, 98%)
CMYKcmyk(0%, 2.4%, 52.2%, 2.4%)
CIE-LABlab(94.13, -13.80, 59.67)
CIE-LCHlch(94.13, 61.25, 103.02°)
OKLaboklab(94.46% -0.0411 0.1399)
OKLCHoklch(94.46% 0.146 106.4)
XYZxyz(74.4493, 85.5750, 30.0451)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F377 #777DF9
analogous
#F9B277 #F9F377 #BEF977
triadic
#F9F377 #77F9F3 #F377F9
tetradic
#F9F377 #77F9B2 #777DF9 #F977BE
square
#F9F377 #77F9B2 #777DF9 #F977BE
split-complementary
#F9F377 #77BEF9 #B277F9
monochromatic
#EBE10A #F6EE3C #F9F377 #FCF8B2 #FEFCE2

Accessibility & contrast

On white

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

On black

18.11
#F9F377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F377
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F377#FFFFFF#000000##000000
##F9F3771.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f377;
/* rgb */ color: rgb(249, 243, 119);
/* oklch */ color: oklch(94.5% 0.146 106.4);
Tailwind
colors: {
  custom: {
    50: '#fef6a1',
    500: '#f9f377',
    950: '#000000',
  },
}
SCSS
$custom: #f9f377;
$custom-light: #fef6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f377",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 119
  },
  "hsl": {
    "h": 57.231,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94462,
    "c": 0.14577,
    "h": 106.4
  },
  "luminance": 0.85573
}

Semantic roles & 50–950 ramp

primary
#F9F377
secondary
#3F46D5
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F377

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

Preview Lab → · Contrast checker → · Palette generator →

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