#B28A1F#B28A1F

#B28A1F is a light, vivid orange. Relative luminance 0.277; OKLCH L 65.4% C 0.125 H 86.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B28A1F
RGBrgb(178, 138, 31)
HSLhsl(44, 70%, 41%)
HSVhsv(44, 83%, 70%)
CMYKcmyk(0%, 22.5%, 82.6%, 30.2%)
CIE-LABlab(59.66, 5.39, 57.91)
CIE-LCHlch(59.66, 58.16, 84.68°)
OKLaboklab(65.42% 0.0083 0.1246)
OKLCHoklch(65.42% 0.125 86.2)
XYZxyz(27.6977, 27.7429, 5.1922)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28A1F #1F47B2
analogous
#B2401F #B28A1F #90B21F
triadic
#B28A1F #1FB28A #8A1FB2
tetradic
#B28A1F #1FB240 #1F47B2 #B21F90
square
#B28A1F #1FB240 #1F47B2 #B21F90
split-complementary
#B28A1F #1F90B2 #401FB2
monochromatic
#4A390D #7E6216 #B28A1F #DBAE33 #E5C267

Accessibility & contrast

On white

3.21
#B28A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B28A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28A1F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28A1F#FFFFFF#000000##000000
##B28A1F1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A02
Deuteranopia (green-blind)
#A69425
Tritanopia (blue-blind)
#C27D76
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b28a1f;
/* rgb */ color: rgb(178, 138, 31);
/* oklch */ color: oklch(65.4% 0.125 86.2);
Tailwind
colors: {
  custom: {
    50: '#ceab65',
    500: '#b28a1f',
    950: '#000000',
  },
}
SCSS
$custom: #b28a1f;
$custom-light: #ceab65;
$custom-dark: #000000;
JSON
{
  "hex": "#b28a1f",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 43.673,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65421,
    "c": 0.12483,
    "h": 86.2
  },
  "luminance": 0.27741
}

Semantic roles & 50–950 ramp

primary
#B28A1F
secondary
#637FCA
accent
#6BED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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