#F9F072#F9F072

#F9F072 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.8% C 0.147 H 105.1°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F9F072
RGBrgb(249, 240, 114)
HSLhsl(56, 92%, 71%)
HSVhsv(56, 54%, 98%)
CMYKcmyk(0%, 3.6%, 54.2%, 2.4%)
CIE-LABlab(93.31, -12.71, 60.97)
CIE-LCHlch(93.31, 62.28, 101.78°)
OKLaboklab(93.79% -0.0385 0.1422)
OKLCHoklch(93.79% 0.147 105.1)
XYZxyz(73.2665, 83.6771, 28.2082)
Luminance0.8367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F072 #727BF9
analogous
#F9AC72 #F9F072 #BEF972
triadic
#F9F072 #72F9F0 #F072F9
tetradic
#F9F072 #72F9AC #727BF9 #F972BE
square
#F9F072 #72F9AC #727BF9 #F972BE
split-complementary
#F9F072 #72BEF9 #AC72F9
monochromatic
#E7D80A #F7EA37 #F9F072 #FBF6AD #FEFCE2

Accessibility & contrast

On white

1.18
#F9F072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#F9F072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F072
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F072#FFFFFF#000000##000000
##F9F0721.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE865
Deuteranopia (green-blind)
#FFEF78
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f072;
/* rgb */ color: rgb(249, 240, 114);
/* oklch */ color: oklch(93.8% 0.147 105.1);
Tailwind
colors: {
  custom: {
    50: '#fef49e',
    500: '#f9f072',
    950: '#000000',
  },
}
SCSS
$custom: #f9f072;
$custom-light: #fef49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f072",
  "rgb": {
    "r": 249,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 56,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93793,
    "c": 0.14728,
    "h": 105.1
  },
  "luminance": 0.83675
}

Semantic roles & 50–950 ramp

primary
#F9F072
secondary
#3B45D4
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F072

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

Preview Lab → · Contrast checker → · Palette generator →

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