#F9F077#F9F077

#F9F077 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.8% C 0.143 H 105.0°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#F9F077
RGBrgb(249, 240, 119)
HSLhsl(56, 92%, 72%)
HSVhsv(56, 52%, 98%)
CMYKcmyk(0%, 3.6%, 52.2%, 2.4%)
CIE-LABlab(93.36, -12.32, 58.78)
CIE-LCHlch(93.36, 60.05, 101.84°)
OKLaboklab(93.85% -0.0368 0.1379)
OKLCHoklch(93.85% 0.143 105)
XYZxyz(73.5589, 83.7941, 29.7482)
Luminance0.8379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F077 #7780F9
analogous
#F9AF77 #F9F077 #C1F977
triadic
#F9F077 #77F9F0 #F077F9
tetradic
#F9F077 #77F9AF #7780F9 #F977C1
square
#F9F077 #77F9AF #7780F9 #F977C1
split-complementary
#F9F077 #77C1F9 #AF77F9
monochromatic
#EBDC0A #F6EA3C #F9F077 #FCF6B2 #FEFCE2

Accessibility & contrast

On white

1.18
#F9F077 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#F9F077 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F077
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F077#FFFFFF#000000##000000
##F9F0771.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96B
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f077;
/* rgb */ color: rgb(249, 240, 119);
/* oklch */ color: oklch(93.8% 0.143 105.0);
Tailwind
colors: {
  custom: {
    50: '#fef4a1',
    500: '#f9f077',
    950: '#000000',
  },
}
SCSS
$custom: #f9f077;
$custom-light: #fef4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f077",
  "rgb": {
    "r": 249,
    "g": 240,
    "b": 119
  },
  "hsl": {
    "h": 55.846,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9385,
    "c": 0.14277,
    "h": 105
  },
  "luminance": 0.83792
}

Semantic roles & 50–950 ramp

primary
#F9F077
secondary
#3F4AD5
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F077

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

Preview Lab → · Contrast checker → · Palette generator →

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