#F9B271#F9B271

#F9B271 is a light, moderate orange. Relative luminance 0.532; OKLCH L 81.7% C 0.116 H 62.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#F9B271
RGBrgb(249, 178, 113)
HSLhsl(29, 92%, 71%)
HSVhsv(29, 55%, 98%)
CMYKcmyk(0%, 28.5%, 54.6%, 2.4%)
CIE-LABlab(77.98, 18.94, 43.22)
CIE-LCHlch(77.98, 47.19, 66.33°)
OKLaboklab(81.72% 0.0537 0.1033)
OKLCHoklch(81.72% 0.116 62.5)
XYZxyz(57.9712, 53.1771, 22.8305)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9B271 #71B8F9
analogous
#F97174 #F9B271 #F9F671
triadic
#F9B271 #71F9B2 #B271F9
tetradic
#F9B271 #74F971 #71B8F9 #F671F9
square
#F9B271 #74F971 #71B8F9 #F671F9
split-complementary
#F9B271 #71F9F6 #7174F9
monochromatic
#E6730A #F79236 #F9B271 #FBD2AC #FEEFE2

Accessibility & contrast

On white

1.80
#F9B271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#F9B271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9B271
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9B271#FFFFFF#000000##000000
##F9B2711.001.8011.6311.63
#FFFFFF1.801.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76C
Deuteranopia (green-blind)
#D9C772
Tritanopia (blue-blind)
#FFA3A2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #f9b271;
/* rgb */ color: rgb(249, 178, 113);
/* oklch */ color: oklch(81.7% 0.116 62.5);
Tailwind
colors: {
  custom: {
    50: '#ffc99b',
    500: '#f9b271',
    950: '#000000',
  },
}
SCSS
$custom: #f9b271;
$custom-light: #ffc99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9b271",
  "rgb": {
    "r": 249,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 28.676,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.81719,
    "c": 0.11639,
    "h": 62.5
  },
  "luminance": 0.53173
}

Semantic roles & 50–950 ramp

primary
#F9B271
secondary
#3A8BD4
accent
#78E600
background
#FFFDFC
surface
#FFF9F5
border
#D7D2CF
text
#18130E
muted
#86827F

Preview Lab

Preview with #F9B271

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

Preview Lab → · Contrast checker → · Palette generator →

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