#F9E374#F9E374

#F9E374 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.2% C 0.134 H 98.3°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#F9E374
RGBrgb(249, 227, 116)
HSLhsl(50, 92%, 72%)
HSVhsv(50, 53%, 98%)
CMYKcmyk(0%, 8.8%, 53.4%, 2.4%)
CIE-LABlab(90.02, -6.11, 56.24)
CIE-LCHlch(90.02, 56.57, 96.20°)
OKLaboklab(91.19% -0.0193 0.1321)
OKLCHoklch(91.19% 0.134 98.3)
XYZxyz(69.6908, 76.3417, 27.5841)
Luminance0.7634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E374 #748AF9
analogous
#F9A174 #F9E374 #CDF974
triadic
#F9E374 #74F9E3 #E374F9
tetradic
#F9E374 #74F9A1 #748AF9 #F974CD
square
#F9E374 #74F9A1 #748AF9 #F974CD
split-complementary
#F9E374 #74CDF9 #A174F9
monochromatic
#E9C40A #F6D739 #F9E374 #FCEFAF #FEF9E2

Accessibility & contrast

On white

1.29
#F9E374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#F9E374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E374
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E374#FFFFFF#000000##000000
##F9E3741.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6A
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f9e374;
/* rgb */ color: rgb(249, 227, 116);
/* oklch */ color: oklch(91.2% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#feeb9f',
    500: '#f9e374',
    950: '#000000',
  },
}
SCSS
$custom: #f9e374;
$custom-light: #feeb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e374",
  "rgb": {
    "r": 249,
    "g": 227,
    "b": 116
  },
  "hsl": {
    "h": 50.075,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91187,
    "c": 0.13354,
    "h": 98.3
  },
  "luminance": 0.76339
}

Semantic roles & 50–950 ramp

primary
#F9E374
secondary
#3D56D5
accent
#26E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E374

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

Preview Lab → · Contrast checker → · Palette generator →

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