#B28C1F#B28C1F

#B28C1F is a light, vivid orange. Relative luminance 0.283; OKLCH L 65.8% C 0.126 H 87.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B28C1F
RGBrgb(178, 140, 31)
HSLhsl(44, 70%, 41%)
HSVhsv(44, 83%, 70%)
CMYKcmyk(0%, 21.3%, 82.6%, 30.2%)
CIE-LABlab(60.18, 4.29, 58.37)
CIE-LCHlch(60.18, 58.53, 85.80°)
OKLaboklab(65.83% 0.0051 0.1255)
OKLCHoklch(65.83% 0.126 87.7)
XYZxyz(27.9873, 28.3220, 5.2887)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28C1F #1F45B2
analogous
#B2421F #B28C1F #8EB21F
triadic
#B28C1F #1FB28C #8C1FB2
tetradic
#B28C1F #1FB242 #1F45B2 #B21F8E
square
#B28C1F #1FB242 #1F45B2 #B21F8E
split-complementary
#B28C1F #1F8EB2 #421FB2
monochromatic
#4A3A0D #7E6316 #B28C1F #DBB033 #E5C467

Accessibility & contrast

On white

3.15
#B28C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B28C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28C1F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28C1F#FFFFFF#000000##000000
##B28C1F1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A79526
Tritanopia (blue-blind)
#C27F78
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b28c1f;
/* rgb */ color: rgb(178, 140, 31);
/* oklch */ color: oklch(65.8% 0.126 87.7);
Tailwind
colors: {
  custom: {
    50: '#cead66',
    500: '#b28c1f',
    950: '#000000',
  },
}
SCSS
$custom: #b28c1f;
$custom-light: #cead66;
$custom-dark: #000000;
JSON
{
  "hex": "#b28c1f",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 44.49,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65832,
    "c": 0.12565,
    "h": 87.7
  },
  "luminance": 0.2832
}

Semantic roles & 50–950 ramp

primary
#B28C1F
secondary
#637ECA
accent
#69ED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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