#F9C671#F9C671

#F9C671 is a very light, moderate orange. Relative luminance 0.617; OKLCH L 85.5% C 0.118 H 78.9°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#F9C671
RGBrgb(249, 198, 113)
HSLhsl(38, 92%, 71%)
HSVhsv(38, 55%, 98%)
CMYKcmyk(0%, 20.5%, 54.6%, 2.4%)
CIE-LABlab(82.77, 8.48, 49.05)
CIE-LCHlch(82.77, 49.78, 80.19°)
OKLaboklab(85.46% 0.0228 0.1162)
OKLCHoklch(85.46% 0.118 78.9)
XYZxyz(62.2446, 61.7240, 24.2550)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9C671 #71A4F9
analogous
#F98271 #F9C671 #E8F971
triadic
#F9C671 #71F9C6 #C671F9
tetradic
#F9C671 #71F982 #71A4F9 #F971E8
square
#F9C671 #71F982 #71A4F9 #F971E8
split-complementary
#F9C671 #71E8F9 #8271F9
monochromatic
#E6930A #F7AE36 #F9C671 #FBDEAC #FEF3E2

Accessibility & contrast

On white

1.57
#F9C671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#F9C671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9C671
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9C671#FFFFFF#000000##000000
##F9C6711.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76A
Deuteranopia (green-blind)
#E7D374
Tritanopia (blue-blind)
#FFB7B2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #f9c671;
/* rgb */ color: rgb(249, 198, 113);
/* oklch */ color: oklch(85.5% 0.118 78.9);
Tailwind
colors: {
  custom: {
    50: '#fed79c',
    500: '#f9c671',
    950: '#000000',
  },
}
SCSS
$custom: #f9c671;
$custom-light: #fed79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9c671",
  "rgb": {
    "r": 249,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 37.5,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8546,
    "c": 0.11836,
    "h": 78.9
  },
  "luminance": 0.6172
}

Semantic roles & 50–950 ramp

primary
#F9C671
secondary
#3A74D4
accent
#56E600
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F9C671

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

Preview Lab → · Contrast checker → · Palette generator →

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