#B28D1F#B28D1F

#B28D1F is a light, vivid orange. Relative luminance 0.286; OKLCH L 66.0% C 0.126 H 88.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B28D1F
RGBrgb(178, 141, 31)
HSLhsl(45, 70%, 41%)
HSVhsv(45, 83%, 70%)
CMYKcmyk(0%, 20.8%, 82.6%, 30.2%)
CIE-LABlab(60.44, 3.74, 58.60)
CIE-LCHlch(60.44, 58.72, 86.35°)
OKLaboklab(66.04% 0.0036 0.126)
OKLCHoklch(66.04% 0.126 88.4)
XYZxyz(28.1341, 28.6156, 5.3376)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28D1F #1F44B2
analogous
#B2431F #B28D1F #8DB21F
triadic
#B28D1F #1FB28D #8D1FB2
tetradic
#B28D1F #1FB243 #1F44B2 #B21F8D
square
#B28D1F #1FB243 #1F44B2 #B21F8D
split-complementary
#B28D1F #1F8DB2 #431FB2
monochromatic
#4A3A0D #7E6416 #B28D1F #DBB133 #E5C567

Accessibility & contrast

On white

3.12
#B28D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B28D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28D1F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28D1F#FFFFFF#000000##000000
##B28D1F1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A89626
Tritanopia (blue-blind)
#C18079
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b28d1f;
/* rgb */ color: rgb(178, 141, 31);
/* oklch */ color: oklch(66.0% 0.126 88.4);
Tailwind
colors: {
  custom: {
    50: '#ceae66',
    500: '#b28d1f',
    950: '#000000',
  },
}
SCSS
$custom: #b28d1f;
$custom-light: #ceae66;
$custom-dark: #000000;
JSON
{
  "hex": "#b28d1f",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 44.898,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66039,
    "c": 0.12609,
    "h": 88.4
  },
  "luminance": 0.28614
}

Semantic roles & 50–950 ramp

primary
#B28D1F
secondary
#637DCA
accent
#68ED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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