#F9E773#F9E773

#F9E773 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 92.0% C 0.138 H 100.6°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#F9E773
RGBrgb(249, 231, 115)
HSLhsl(52, 92%, 71%)
HSVhsv(52, 54%, 98%)
CMYKcmyk(0%, 7.2%, 53.8%, 2.4%)
CIE-LABlab(91.02, -8.18, 57.87)
CIE-LCHlch(91.02, 58.45, 98.05°)
OKLaboklab(91.98% -0.0254 0.1356)
OKLCHoklch(91.98% 0.138 100.6)
XYZxyz(70.7397, 78.5320, 27.6483)
Luminance0.7853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E773 #7385F9
analogous
#F9A473 #F9E773 #C8F973
triadic
#F9E773 #73F9E7 #E773F9
tetradic
#F9E773 #73F9A4 #7385F9 #F973C8
square
#F9E773 #73F9A4 #7385F9 #F973C8
split-complementary
#F9E773 #73C8F9 #A473F9
monochromatic
#E8CA0A #F6DD38 #F9E773 #FCF1AE #FEFAE2

Accessibility & contrast

On white

1.26
#F9E773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#F9E773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E773
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E773#FFFFFF#000000##000000
##F9E7731.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E168
Deuteranopia (green-blind)
#FFE878
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e773;
/* rgb */ color: rgb(249, 231, 115);
/* oklch */ color: oklch(92.0% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#feee9e',
    500: '#f9e773',
    950: '#000000',
  },
}
SCSS
$custom: #f9e773;
$custom-light: #feee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e773",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 115
  },
  "hsl": {
    "h": 51.94,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9198,
    "c": 0.13794,
    "h": 100.6
  },
  "luminance": 0.78529
}

Semantic roles & 50–950 ramp

primary
#F9E773
secondary
#3C50D4
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E773

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

Preview Lab → · Contrast checker → · Palette generator →

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