#F9EC74#F9EC74

#F9EC74 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 93.0% C 0.142 H 103.1°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F9EC74
RGBrgb(249, 236, 116)
HSLhsl(54, 92%, 72%)
HSVhsv(54, 53%, 98%)
CMYKcmyk(0%, 5.2%, 53.4%, 2.4%)
CIE-LABlab(92.31, -10.59, 58.91)
CIE-LCHlch(92.31, 59.85, 100.19°)
OKLaboklab(93% -0.0322 0.1379)
OKLCHoklch(93% 0.142 103.1)
XYZxyz(72.2170, 81.3941, 28.4261)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EC74 #7481F9
analogous
#F9AA74 #F9EC74 #C4F974
triadic
#F9EC74 #74F9EC #EC74F9
tetradic
#F9EC74 #74F9AA #7481F9 #F974C4
square
#F9EC74 #74F9AA #7481F9 #F974C4
split-complementary
#F9EC74 #74C4F9 #AA74F9
monochromatic
#E9D30A #F6E439 #F9EC74 #FCF4AF #FEFBE2

Accessibility & contrast

On white

1.22
#F9EC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#F9EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EC74
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EC74#FFFFFF#000000##000000
##F9EC741.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE568
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ec74;
/* rgb */ color: rgb(249, 236, 116);
/* oklch */ color: oklch(93.0% 0.142 103.1);
Tailwind
colors: {
  custom: {
    50: '#fef19f',
    500: '#f9ec74',
    950: '#000000',
  },
}
SCSS
$custom: #f9ec74;
$custom-light: #fef19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ec74",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 54.135,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93002,
    "c": 0.14164,
    "h": 103.1
  },
  "luminance": 0.81392
}

Semantic roles & 50–950 ramp

primary
#F9EC74
secondary
#3D4BD5
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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