#F9C871#F9C871

#F9C871 is a very light, moderate orange. Relative luminance 0.626; OKLCH L 85.8% C 0.119 H 80.5°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#F9C871
RGBrgb(249, 200, 113)
HSLhsl(38, 92%, 71%)
HSVhsv(38, 55%, 98%)
CMYKcmyk(0%, 19.7%, 54.6%, 2.4%)
CIE-LABlab(83.25, 7.45, 49.63)
CIE-LCHlch(83.25, 50.19, 81.47°)
OKLaboklab(85.84% 0.0197 0.1174)
OKLCHoklch(85.84% 0.119 80.5)
XYZxyz(62.7048, 62.6443, 24.4084)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9C871 #71A2F9
analogous
#F98471 #F9C871 #E6F971
triadic
#F9C871 #71F9C8 #C871F9
tetradic
#F9C871 #71F984 #71A2F9 #F971E6
square
#F9C871 #71F984 #71A2F9 #F971E6
split-complementary
#F9C871 #71E6F9 #8471F9
monochromatic
#E6970A #F7B136 #F9C871 #FBDFAC #FEF4E2

Accessibility & contrast

On white

1.55
#F9C871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#F9C871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9C871
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9C871#FFFFFF#000000##000000
##F9C8711.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#E8D474
Tritanopia (blue-blind)
#FFB9B4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f9c871;
/* rgb */ color: rgb(249, 200, 113);
/* oklch */ color: oklch(85.8% 0.119 80.5);
Tailwind
colors: {
  custom: {
    50: '#fed89c',
    500: '#f9c871',
    950: '#000000',
  },
}
SCSS
$custom: #f9c871;
$custom-light: #fed89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9c871",
  "rgb": {
    "r": 249,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 38.382,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85843,
    "c": 0.11909,
    "h": 80.5
  },
  "luminance": 0.62641
}

Semantic roles & 50–950 ramp

primary
#F9C871
secondary
#3A72D4
accent
#53E600
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F9C871

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

Preview Lab → · Contrast checker → · Palette generator →

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