#FBAF2B#FBAF2B

#FBAF2B is a light, vivid orange. Relative luminance 0.513; OKLCH L 80.7% C 0.159 H 75.1°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#FBAF2B
RGBrgb(251, 175, 43)
HSLhsl(38, 96%, 58%)
HSVhsv(38, 83%, 98%)
CMYKcmyk(0%, 30.3%, 82.9%, 1.6%)
CIE-LABlab(76.89, 17.66, 72.17)
CIE-LCHlch(76.89, 74.30, 76.25°)
OKLaboklab(80.72% 0.0411 0.1539)
OKLCHoklch(80.72% 0.159 75.1)
XYZxyz(55.5539, 51.3485, 9.2705)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBAF2B #2B77FB
analogous
#FB472B #FBAF2B #DFFB2B
triadic
#FBAF2B #2BFBAF #AF2BFB
tetradic
#FBAF2B #2BFB47 #2B77FB #FB2BDF
square
#FBAF2B #2BFB47 #2B77FB #FB2BDF
split-complementary
#FBAF2B #2BDFFB #472BFB
monochromatic
#A86C03 #E49304 #FBAF2B #FCC667 #FDDCA3

Accessibility & contrast

On white

1.86
#FBAF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#FBAF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBAF2B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBAF2B#FFFFFF#000000##000000
##FBAF2B1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB303
Deuteranopia (green-blind)
#DCC531
Tritanopia (blue-blind)
#FF9B97
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #fbaf2b;
/* rgb */ color: rgb(251, 175, 43);
/* oklch */ color: oklch(80.7% 0.159 75.1);
Tailwind
colors: {
  custom: {
    50: '#ffc671',
    500: '#fbaf2b',
    950: '#000000',
  },
}
SCSS
$custom: #fbaf2b;
$custom-light: #ffc671;
$custom-dark: #000000;
JSON
{
  "hex": "#fbaf2b",
  "rgb": {
    "r": 251,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 38.077,
    "s": 96.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80724,
    "c": 0.15932,
    "h": 75.1
  },
  "luminance": 0.51344
}

Semantic roles & 50–950 ramp

primary
#FBAF2B
secondary
#2153A9
accent
#77FF29
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#191308
muted
#87827D

Preview Lab

Preview with #FBAF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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