#B28227#B28227

#B28227 is a light, moderate orange. Relative luminance 0.256; OKLCH L 63.8% C 0.118 H 78.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B28227
RGBrgb(178, 130, 39)
HSLhsl(39, 64%, 43%)
HSVhsv(39, 78%, 70%)
CMYKcmyk(0%, 27%, 78.1%, 30.2%)
CIE-LABlab(57.64, 10.11, 53.25)
CIE-LCHlch(57.64, 54.20, 79.25°)
OKLaboklab(63.85% 0.0227 0.1163)
OKLCHoklch(63.85% 0.119 78.9)
XYZxyz(26.7108, 25.5789, 5.4495)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28227 #2757B2
analogous
#B23D27 #B28227 #9CB227
triadic
#B28227 #27B282 #8227B2
tetradic
#B28227 #27B23D #2757B2 #B2279C
square
#B28227 #27B23D #2757B2 #B2279C
split-complementary
#B28227 #279CB2 #3D27B2
monochromatic
#4E3911 #805D1C #B28227 #D5A241 #E0BB73

Accessibility & contrast

On white

3.43
#B28227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B28227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28227
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28227#FFFFFF#000000##000000
##B282271.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958318
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#C27470
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b28227;
/* rgb */ color: rgb(178, 130, 39);
/* oklch */ color: oklch(63.8% 0.118 78.9);
Tailwind
colors: {
  custom: {
    50: '#cea668',
    500: '#b28227',
    950: '#000000',
  },
}
SCSS
$custom: #b28227;
$custom-light: #cea668;
$custom-dark: #000000;
JSON
{
  "hex": "#b28227",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 39.281,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.1185,
    "h": 78.9
  },
  "luminance": 0.25577
}

Semantic roles & 50–950 ramp

primary
#B28227
secondary
#6D8CC8
accent
#7AE741
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #B28227

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

Preview Lab → · Contrast checker → · Palette generator →

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