#FAB271#FAB271

#FAB271 is a light, moderate orange. Relative luminance 0.534; OKLCH L 81.8% C 0.117 H 62.1°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#FAB271
RGBrgb(250, 178, 113)
HSLhsl(28, 93%, 71%)
HSVhsv(28, 55%, 98%)
CMYKcmyk(0%, 28.8%, 54.8%, 2%)
CIE-LABlab(78.09, 19.35, 43.37)
CIE-LCHlch(78.09, 47.49, 65.96°)
OKLaboklab(81.83% 0.0549 0.1036)
OKLCHoklch(81.83% 0.117 62.1)
XYZxyz(58.3287, 53.3615, 22.8473)
Luminance0.5336 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAB271 #71B9FA
analogous
#FA7174 #FAB271 #FAF671
triadic
#FAB271 #71FAB2 #B271FA
tetradic
#FAB271 #74FA71 #71B9FA #F671FA
square
#FAB271 #74FA71 #71B9FA #F671FA
split-complementary
#FAB271 #71FAF6 #7174FA
monochromatic
#E87308 #F89236 #FAB271 #FCD2AC #FEEFE1

Accessibility & contrast

On white

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

On black

11.67
#FAB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAB271
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAB271#FFFFFF#000000##000000
##FAB2711.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fab271;
/* rgb */ color: rgb(250, 178, 113);
/* oklch */ color: oklch(81.8% 0.117 62.1);
Tailwind
colors: {
  custom: {
    50: '#ffc99b',
    500: '#fab271',
    950: '#000000',
  },
}
SCSS
$custom: #fab271;
$custom-light: #ffc99b;
$custom-dark: #000000;
JSON
{
  "hex": "#fab271",
  "rgb": {
    "r": 250,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 28.467,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.81828,
    "c": 0.11722,
    "h": 62.1
  },
  "luminance": 0.53357
}

Semantic roles & 50–950 ramp

primary
#FAB271
secondary
#3A8CD5
accent
#79E600
background
#FFFDFC
surface
#FFF9F5
border
#D7D2CF
text
#18130E
muted
#86827F

Preview Lab

Preview with #FAB271

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

Preview Lab → · Contrast checker → · Palette generator →

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