#F9F670#F9F670

#F9F670 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.0% C 0.155 H 107.8°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#F9F670
RGBrgb(249, 246, 112)
HSLhsl(59, 92%, 71%)
HSVhsv(59, 55%, 98%)
CMYKcmyk(0%, 1.2%, 55%, 2.4%)
CIE-LABlab(94.83, -15.79, 63.59)
CIE-LCHlch(94.83, 65.52, 103.95°)
OKLaboklab(95% -0.0475 0.1476)
OKLCHoklch(95% 0.155 107.8)
XYZxyz(74.9494, 87.2232, 28.2137)
Luminance0.8722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F670 #7073F9
analogous
#F9B170 #F9F670 #B7F970
triadic
#F9F670 #70F9F6 #F670F9
tetradic
#F9F670 #70F9B1 #7073F9 #F970B7
square
#F9F670 #70F9B1 #7073F9 #F970B7
split-complementary
#F9F670 #70B7F9 #B170F9
monochromatic
#E5E00A #F7F235 #F9F670 #FBFAAB #FEFDE2

Accessibility & contrast

On white

1.14
#F9F670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.44
#F9F670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F670
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F670#FFFFFF#000000##000000
##F9F6701.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED62
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f670;
/* rgb */ color: rgb(249, 246, 112);
/* oklch */ color: oklch(95.0% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#fef99d',
    500: '#f9f670',
    950: '#000000',
  },
}
SCSS
$custom: #f9f670;
$custom-light: #fef99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f670",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 58.686,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94999,
    "c": 0.15501,
    "h": 107.8
  },
  "luminance": 0.87221
}

Semantic roles & 50–950 ramp

primary
#F9F670
secondary
#393DD4
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F670

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

Preview Lab → · Contrast checker → · Palette generator →

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