#F9E774#F9E774

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

Color values

HEX#F9E774
RGBrgb(249, 231, 116)
HSLhsl(52, 92%, 72%)
HSVhsv(52, 53%, 98%)
CMYKcmyk(0%, 7.2%, 53.4%, 2.4%)
CIE-LABlab(91.03, -8.11, 57.43)
CIE-LCHlch(91.03, 58.00, 98.03°)
OKLaboklab(91.99% -0.0251 0.1347)
OKLCHoklch(91.99% 0.137 100.5)
XYZxyz(70.7976, 78.5552, 27.9530)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E774 #7486F9
analogous
#F9A574 #F9E774 #C9F974
triadic
#F9E774 #74F9E7 #E774F9
tetradic
#F9E774 #74F9A5 #7486F9 #F974C9
square
#F9E774 #74F9A5 #7486F9 #F974C9
split-complementary
#F9E774 #74C9F9 #A574F9
monochromatic
#E9CA0A #F6DD39 #F9E774 #FCF1AF #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9E774#FFFFFF#000000##000000
##F9E7741.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)
#F9E169
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e774;
/* rgb */ color: rgb(249, 231, 116);
/* oklch */ color: oklch(92.0% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#feee9f',
    500: '#f9e774',
    950: '#000000',
  },
}
SCSS
$custom: #f9e774;
$custom-light: #feee9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e774",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 116
  },
  "hsl": {
    "h": 51.88,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91991,
    "c": 0.13703,
    "h": 100.5
  },
  "luminance": 0.78553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9E774

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

Preview Lab → · Contrast checker → · Palette generator →

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