#B18227#B18227

#B18227 is a light, moderate orange. Relative luminance 0.255; OKLCH L 63.7% C 0.118 H 79.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B18227
RGBrgb(177, 130, 39)
HSLhsl(40, 64%, 42%)
HSVhsv(40, 78%, 69%)
CMYKcmyk(0%, 26.6%, 78%, 30.6%)
CIE-LABlab(57.52, 9.66, 53.11)
CIE-LCHlch(57.52, 53.98, 79.69°)
OKLaboklab(63.74% 0.0215 0.116)
OKLCHoklch(63.74% 0.118 79.5)
XYZxyz(26.4821, 25.4609, 5.4388)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18227 #2756B1
analogous
#B13D27 #B18227 #9BB127
triadic
#B18227 #27B182 #8227B1
tetradic
#B18227 #27B13D #2756B1 #B1279B
square
#B18227 #27B13D #2756B1 #B1279B
split-complementary
#B18227 #279BB1 #3D27B1
monochromatic
#4D3811 #7F5D1C #B18227 #D5A240 #E0BB72

Accessibility & contrast

On white

3.45
#B18227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B18227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B18227
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18227#FFFFFF#000000##000000
##B182271.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948318
Deuteranopia (green-blind)
#9F8F2B
Tritanopia (blue-blind)
#C17570
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b18227;
/* rgb */ color: rgb(177, 130, 39);
/* oklch */ color: oklch(63.7% 0.118 79.5);
Tailwind
colors: {
  custom: {
    50: '#cda668',
    500: '#b18227',
    950: '#000000',
  },
}
SCSS
$custom: #b18227;
$custom-light: #cda668;
$custom-dark: #000000;
JSON
{
  "hex": "#b18227",
  "rgb": {
    "r": 177,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 39.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63736,
    "c": 0.11801,
    "h": 79.5
  },
  "luminance": 0.25459
}

Semantic roles & 50–950 ramp

primary
#B18227
secondary
#6D8BC7
accent
#79E741
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #B18227

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

Preview Lab → · Contrast checker → · Palette generator →

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