#F9F76B#F9F76B

#F9F76B is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.2% C 0.160 H 108.3°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#F9F76B
RGBrgb(249, 247, 107)
HSLhsl(59, 92%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 0.8%, 57%, 2.4%)
CIE-LABlab(95.05, -16.64, 65.98)
CIE-LCHlch(95.05, 68.04, 104.15°)
OKLaboklab(95.15% -0.0504 0.1521)
OKLCHoklch(95.15% 0.16 108.3)
XYZxyz(74.9837, 87.7249, 26.8898)
Luminance0.8772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F76B #6B6DF9
analogous
#F9B06B #F9F76B #B4F96B
triadic
#F9F76B #6BF9F7 #F76BF9
tetradic
#F9F76B #6BF9B0 #6B6DF9 #F96BB4
square
#F9F76B #6BF9B0 #6B6DF9 #F96BB4
split-complementary
#F9F76B #6BB4F9 #B06BF9
monochromatic
#E0DD09 #F7F430 #F9F76B #FBFAA6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.54
#F9F76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F76B
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F76B#FFFFFF#000000##000000
##F9F76B1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5C
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f76b;
/* rgb */ color: rgb(249, 247, 107);
/* oklch */ color: oklch(95.2% 0.160 108.3);
Tailwind
colors: {
  custom: {
    50: '#fef99a',
    500: '#f9f76b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f76b;
$custom-light: #fef99a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f76b",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 59.155,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95153,
    "c": 0.16023,
    "h": 108.3
  },
  "luminance": 0.87723
}

Semantic roles & 50–950 ramp

primary
#F9F76B
secondary
#3537D3
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F76B

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

Preview Lab → · Contrast checker → · Palette generator →

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