#F9FE7A#F9FE7A

#F9FE7A is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.8% C 0.155 H 110.9°. Best body text is #000000 at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#F9FE7A
RGBrgb(249, 254, 122)
HSLhsl(62, 99%, 74%)
HSVhsv(62, 52%, 100%)
CMYKcmyk(2%, 0%, 52%, 0.4%)
CIE-LABlab(97.00, -18.89, 61.66)
CIE-LCHlch(97.00, 64.48, 107.03°)
OKLaboklab(96.76% -0.0552 0.1445)
OKLCHoklch(96.76% 0.155 110.9)
XYZxyz(78.0233, 92.4302, 32.1393)
Luminance0.9243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FE7A #7F7AFE
analogous
#FEC17A #F9FE7A #B7FE7A
triadic
#F9FE7A #7AF9FE #FE7AF9
tetradic
#F9FE7A #7AFEC1 #7F7AFE #FE7AB7
square
#F9FE7A #7AFEC1 #7F7AFE #FE7AB7
split-complementary
#F9FE7A #7AB7FE #C17AFE
monochromatic
#F2FC02 #F6FE3D #F9FE7A #FCFEB7 #FEFFE1

Accessibility & contrast

On white

1.08
#F9FE7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.49
#F9FE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FE7A
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FE7A#FFFFFF#000000##000000
##F9FE7A1.001.0819.4919.49
#FFFFFF1.081.0021.0021.00
#00000019.4921.001.001.00
##00000019.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF46D
Deuteranopia (green-blind)
#FFF881
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f9fe7a;
/* rgb */ color: rgb(249, 254, 122);
/* oklch */ color: oklch(96.8% 0.155 110.9);
Tailwind
colors: {
  custom: {
    50: '#fefea4',
    500: '#f9fe7a',
    950: '#000000',
  },
}
SCSS
$custom: #f9fe7a;
$custom-light: #fefea4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fe7a",
  "rgb": {
    "r": 249,
    "g": 254,
    "b": 122
  },
  "hsl": {
    "h": 62.273,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.96755,
    "c": 0.15466,
    "h": 110.9
  },
  "luminance": 0.92428
}

Semantic roles & 50–950 ramp

primary
#F9FE7A
secondary
#4640DC
accent
#00E609
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9FE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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