#F9EF74#F9EF74

#F9EF74 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.6% C 0.145 H 104.6°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#F9EF74
RGBrgb(249, 239, 116)
HSLhsl(55, 92%, 72%)
HSVhsv(55, 53%, 98%)
CMYKcmyk(0%, 4%, 53.4%, 2.4%)
CIE-LABlab(93.07, -12.07, 59.80)
CIE-LCHlch(93.07, 61.01, 101.41°)
OKLaboklab(93.61% -0.0364 0.1399)
OKLCHoklch(93.61% 0.145 104.6)
XYZxyz(73.0880, 83.1360, 28.7165)
Luminance0.8313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF74 #747EF9
analogous
#F9AD74 #F9EF74 #C1F974
triadic
#F9EF74 #74F9EF #EF74F9
tetradic
#F9EF74 #74F9AD #747EF9 #F974C1
square
#F9EF74 #74F9AD #747EF9 #F974C1
split-complementary
#F9EF74 #74C1F9 #AD74F9
monochromatic
#E9D80A #F6E839 #F9EF74 #FCF6AF #FEFCE2

Accessibility & contrast

On white

1.19
#F9EF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#F9EF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF74
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF74#FFFFFF#000000##000000
##F9EF741.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f9ef74;
/* rgb */ color: rgb(249, 239, 116);
/* oklch */ color: oklch(93.6% 0.145 104.6);
Tailwind
colors: {
  custom: {
    50: '#fef49f',
    500: '#f9ef74',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef74;
$custom-light: #fef49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef74",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 116
  },
  "hsl": {
    "h": 55.489,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93612,
    "c": 0.14452,
    "h": 104.6
  },
  "luminance": 0.83134
}

Semantic roles & 50–950 ramp

primary
#F9EF74
secondary
#3D48D5
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9EF74

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

Preview Lab → · Contrast checker → · Palette generator →

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