#F9F070#F9F070

#F9F070 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.149 H 105.2°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#F9F070
RGBrgb(249, 240, 112)
HSLhsl(56, 92%, 71%)
HSVhsv(56, 55%, 98%)
CMYKcmyk(0%, 3.6%, 55%, 2.4%)
CIE-LABlab(93.29, -12.86, 61.83)
CIE-LCHlch(93.29, 63.16, 101.75°)
OKLaboklab(93.77% -0.0391 0.1438)
OKLCHoklch(93.77% 0.149 105.2)
XYZxyz(73.1539, 83.6321, 27.6152)
Luminance0.8363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F070 #7079F9
analogous
#F9AB70 #F9F070 #BEF970
triadic
#F9F070 #70F9F0 #F070F9
tetradic
#F9F070 #70F9AB #7079F9 #F970BE
square
#F9F070 #70F9AB #7079F9 #F970BE
split-complementary
#F9F070 #70BEF9 #AB70F9
monochromatic
#E5D70A #F7EA35 #F9F070 #FBF6AB #FEFCE2

Accessibility & contrast

On white

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

On black

17.73
#F9F070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F070
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F070#FFFFFF#000000##000000
##F9F0701.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f070;
/* rgb */ color: rgb(249, 240, 112);
/* oklch */ color: oklch(93.8% 0.149 105.2);
Tailwind
colors: {
  custom: {
    50: '#fef49d',
    500: '#f9f070',
    950: '#000000',
  },
}
SCSS
$custom: #f9f070;
$custom-light: #fef49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f070",
  "rgb": {
    "r": 249,
    "g": 240,
    "b": 112
  },
  "hsl": {
    "h": 56.058,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93771,
    "c": 0.14904,
    "h": 105.2
  },
  "luminance": 0.8363
}

Semantic roles & 50–950 ramp

primary
#F9F070
secondary
#3943D4
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F070

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

Preview Lab → · Contrast checker → · Palette generator →

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