#F8B271#F8B271

#F8B271 is a light, moderate orange. Relative luminance 0.530; OKLCH L 81.6% C 0.116 H 62.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#F8B271
RGBrgb(248, 178, 113)
HSLhsl(29, 91%, 71%)
HSVhsv(29, 54%, 97%)
CMYKcmyk(0%, 28.2%, 54.4%, 2.7%)
CIE-LABlab(77.87, 18.54, 43.06)
CIE-LCHlch(77.87, 46.88, 66.70°)
OKLaboklab(81.61% 0.0526 0.1029)
OKLCHoklch(81.61% 0.116 62.9)
XYZxyz(57.6156, 52.9938, 22.8139)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8B271 #71B7F8
analogous
#F87173 #F8B271 #F8F671
triadic
#F8B271 #71F8B2 #B271F8
tetradic
#F8B271 #73F871 #71B7F8 #F671F8
square
#F8B271 #73F871 #71B7F8 #F671F8
split-complementary
#F8B271 #71F8F6 #7173F8
monochromatic
#E3730B #F59237 #F8B271 #FBD2AB #FEEFE2

Accessibility & contrast

On white

1.81
#F8B271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#F8B271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8B271
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8B271#FFFFFF#000000##000000
##F8B2711.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8b271;
/* rgb */ color: rgb(248, 178, 113);
/* oklch */ color: oklch(81.6% 0.116 62.9);
Tailwind
colors: {
  custom: {
    50: '#fec99b',
    500: '#f8b271',
    950: '#000000',
  },
}
SCSS
$custom: #f8b271;
$custom-light: #fec99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8b271",
  "rgb": {
    "r": 248,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 28.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.81611,
    "c": 0.11558,
    "h": 62.9
  },
  "luminance": 0.5299
}

Semantic roles & 50–950 ramp

primary
#F8B271
secondary
#3A89D3
accent
#77E600
background
#FFFDFC
surface
#FFF9F5
border
#D7D2CF
text
#18130E
muted
#86827F

Preview Lab

Preview with #F8B271

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

Preview Lab → · Contrast checker → · Palette generator →

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