#F9ED74#F9ED74

#F9ED74 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.2% C 0.143 H 103.6°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#F9ED74
RGBrgb(249, 237, 116)
HSLhsl(55, 92%, 72%)
HSVhsv(55, 53%, 98%)
CMYKcmyk(0%, 4.8%, 53.4%, 2.4%)
CIE-LABlab(92.56, -11.08, 59.21)
CIE-LCHlch(92.56, 60.24, 100.60°)
OKLaboklab(93.21% -0.0336 0.1386)
OKLCHoklch(93.21% 0.143 103.6)
XYZxyz(72.5057, 81.9715, 28.5224)
Luminance0.8197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED74 #7480F9
analogous
#F9AB74 #F9ED74 #C3F974
triadic
#F9ED74 #74F9ED #ED74F9
tetradic
#F9ED74 #74F9AB #7480F9 #F974C3
square
#F9ED74 #74F9AB #7480F9 #F974C3
split-complementary
#F9ED74 #74C3F9 #AB74F9
monochromatic
#E9D40A #F6E539 #F9ED74 #FCF5AF #FEFBE2

Accessibility & contrast

On white

1.21
#F9ED74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#F9ED74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ED74
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ED74#FFFFFF#000000##000000
##F9ED741.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE668
Deuteranopia (green-blind)
#FFED7A
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f9ed74;
/* rgb */ color: rgb(249, 237, 116);
/* oklch */ color: oklch(93.2% 0.143 103.6);
Tailwind
colors: {
  custom: {
    50: '#fef29f',
    500: '#f9ed74',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed74;
$custom-light: #fef29f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed74",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 116
  },
  "hsl": {
    "h": 54.586,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93205,
    "c": 0.14259,
    "h": 103.6
  },
  "luminance": 0.81969
}

Semantic roles & 50–950 ramp

primary
#F9ED74
secondary
#3D4AD5
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9ED74

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

Preview Lab → · Contrast checker → · Palette generator →

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