#F9D171#F9D171

#F9D171 is a very light, vivid orange. Relative luminance 0.669; OKLCH L 87.6% C 0.123 H 87.1°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#F9D171
RGBrgb(249, 209, 113)
HSLhsl(42, 92%, 71%)
HSVhsv(42, 55%, 98%)
CMYKcmyk(0%, 16.1%, 54.6%, 2.4%)
CIE-LABlab(85.47, 2.80, 52.28)
CIE-LCHlch(85.47, 52.36, 86.93°)
OKLaboklab(87.59% 0.0062 0.1232)
OKLCHoklch(87.59% 0.123 87.1)
XYZxyz(64.8508, 66.9364, 25.1237)
Luminance0.6693 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D171 #7199F9
analogous
#F98D71 #F9D171 #DDF971
triadic
#F9D171 #71F9D1 #D171F9
tetradic
#F9D171 #71F98D #7199F9 #F971DD
square
#F9D171 #71F98D #7199F9 #F971DD
split-complementary
#F9D171 #71DDF9 #8D71F9
monochromatic
#E6A50A #F7BE36 #F9D171 #FBE4AC #FEF5E2

Accessibility & contrast

On white

1.46
#F9D171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#F9D171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D171
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D171#FFFFFF#000000##000000
##F9D1711.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF68
Deuteranopia (green-blind)
#EEDA74
Tritanopia (blue-blind)
#FFC3BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f9d171;
/* rgb */ color: rgb(249, 209, 113);
/* oklch */ color: oklch(87.6% 0.123 87.1);
Tailwind
colors: {
  custom: {
    50: '#fede9c',
    500: '#f9d171',
    950: '#000000',
  },
}
SCSS
$custom: #f9d171;
$custom-light: #fede9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d171",
  "rgb": {
    "r": 249,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 42.353,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87586,
    "c": 0.12338,
    "h": 87.1
  },
  "luminance": 0.66933
}

Semantic roles & 50–950 ramp

primary
#F9D171
secondary
#3A67D4
accent
#43E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D171

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

Preview Lab → · Contrast checker → · Palette generator →

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