#F9E174#F9E174

#F9E174 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.132 H 97.1°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#F9E174
RGBrgb(249, 225, 116)
HSLhsl(49, 92%, 72%)
HSVhsv(49, 53%, 98%)
CMYKcmyk(0%, 9.6%, 53.4%, 2.4%)
CIE-LABlab(89.51, -5.10, 55.64)
CIE-LCHlch(89.51, 55.88, 95.24°)
OKLaboklab(90.79% -0.0164 0.1309)
OKLCHoklch(90.79% 0.132 97.1)
XYZxyz(69.1470, 75.2540, 27.4028)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E174 #748CF9
analogous
#F99F74 #F9E174 #CFF974
triadic
#F9E174 #74F9E1 #E174F9
tetradic
#F9E174 #74F99F #748CF9 #F974CF
square
#F9E174 #74F99F #748CF9 #F974CF
split-complementary
#F9E174 #74CFF9 #9F74F9
monochromatic
#E9C00A #F6D439 #F9E174 #FCEEAF #FEF9E2

Accessibility & contrast

On white

1.31
#F9E174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#F9E174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E174
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E174#FFFFFF#000000##000000
##F9E1741.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC6A
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f9e174;
/* rgb */ color: rgb(249, 225, 116);
/* oklch */ color: oklch(90.8% 0.132 97.1);
Tailwind
colors: {
  custom: {
    50: '#feea9f',
    500: '#f9e174',
    950: '#000000',
  },
}
SCSS
$custom: #f9e174;
$custom-light: #feea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e174",
  "rgb": {
    "r": 249,
    "g": 225,
    "b": 116
  },
  "hsl": {
    "h": 49.173,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90786,
    "c": 0.13187,
    "h": 97.1
  },
  "luminance": 0.75251
}

Semantic roles & 50–950 ramp

primary
#F9E174
secondary
#3D58D5
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E174

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

Preview Lab → · Contrast checker → · Palette generator →

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