#F9EF72#F9EF72

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

Color values

HEX#F9EF72
RGBrgb(249, 239, 114)
HSLhsl(56, 92%, 71%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 4%, 54.2%, 2.4%)
CIE-LABlab(93.05, -12.22, 60.67)
CIE-LCHlch(93.05, 61.89, 101.39°)
OKLaboklab(93.59% -0.0371 0.1415)
OKLCHoklch(93.59% 0.146 104.7)
XYZxyz(72.9729, 83.0900, 28.1104)
Luminance0.8309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF72 #727CF9
analogous
#F9AB72 #F9EF72 #BFF972
triadic
#F9EF72 #72F9EF #EF72F9
tetradic
#F9EF72 #72F9AB #727CF9 #F972BF
square
#F9EF72 #72F9AB #727CF9 #F972BF
split-complementary
#F9EF72 #72BFF9 #AB72F9
monochromatic
#E7D60A #F7E837 #F9EF72 #FBF6AD #FEFCE2

Accessibility & contrast

On white

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

On black

17.62
#F9EF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF72
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF72#FFFFFF#000000##000000
##F9EF721.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9ef72;
/* rgb */ color: rgb(249, 239, 114);
/* oklch */ color: oklch(93.6% 0.146 104.7);
Tailwind
colors: {
  custom: {
    50: '#fef49e',
    500: '#f9ef72',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef72;
$custom-light: #fef49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef72",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 114
  },
  "hsl": {
    "h": 55.556,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93589,
    "c": 0.14631,
    "h": 104.7
  },
  "luminance": 0.83088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9EF72

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

Preview Lab → · Contrast checker → · Palette generator →

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