#F9EB74#F9EB74

#F9EB74 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.8% C 0.141 H 102.6°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F9EB74
RGBrgb(249, 235, 116)
HSLhsl(54, 92%, 72%)
HSVhsv(54, 53%, 98%)
CMYKcmyk(0%, 5.6%, 53.4%, 2.4%)
CIE-LABlab(92.05, -10.09, 58.61)
CIE-LCHlch(92.05, 59.48, 99.77°)
OKLaboklab(92.8% -0.0308 0.1373)
OKLCHoklch(92.8% 0.141 102.6)
XYZxyz(71.9299, 80.8199, 28.3304)
Luminance0.8082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EB74 #7482F9
analogous
#F9A974 #F9EB74 #C5F974
triadic
#F9EB74 #74F9EB #EB74F9
tetradic
#F9EB74 #74F9A9 #7482F9 #F974C5
square
#F9EB74 #74F9A9 #7482F9 #F974C5
split-complementary
#F9EB74 #74C5F9 #A974F9
monochromatic
#E9D10A #F6E339 #F9EB74 #FCF3AF #FEFBE2

Accessibility & contrast

On white

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

On black

17.16
#F9EB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EB74
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EB74#FFFFFF#000000##000000
##F9EB741.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE469
Deuteranopia (green-blind)
#FFEB7A
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9eb74;
/* rgb */ color: rgb(249, 235, 116);
/* oklch */ color: oklch(92.8% 0.141 102.6);
Tailwind
colors: {
  custom: {
    50: '#fef19f',
    500: '#f9eb74',
    950: '#000000',
  },
}
SCSS
$custom: #f9eb74;
$custom-light: #fef19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9eb74",
  "rgb": {
    "r": 249,
    "g": 235,
    "b": 116
  },
  "hsl": {
    "h": 53.684,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.928,
    "c": 0.1407,
    "h": 102.6
  },
  "luminance": 0.80817
}

Semantic roles & 50–950 ramp

primary
#F9EB74
secondary
#3D4DD5
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EB74

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

Preview Lab → · Contrast checker → · Palette generator →

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