#BA7B2D#BA7B2D

#BA7B2D is a light, vivid orange. Relative luminance 0.248; OKLCH L 63.5% C 0.120 H 67.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA7B2D
RGBrgb(186, 123, 45)
HSLhsl(33, 61%, 45%)
HSVhsv(33, 76%, 73%)
CMYKcmyk(0%, 33.9%, 75.8%, 27.1%)
CIE-LABlab(56.88, 17.81, 50.38)
CIE-LCHlch(56.88, 53.44, 70.53°)
OKLaboklab(63.48% 0.0455 0.1111)
OKLCHoklch(63.48% 0.12 67.7)
XYZxyz(27.8084, 24.7970, 5.8039)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7B2D #2D6CBA
analogous
#BA342D #BA7B2D #B3BA2D
triadic
#BA7B2D #2DBA7B #7B2DBA
tetradic
#BA7B2D #2DBA34 #2D6CBA #BA2DB3
square
#BA7B2D #2DBA34 #2D6CBA #BA2DB3
split-complementary
#BA7B2D #2DB3BA #342DBA
monochromatic
#573A15 #895A21 #BA7B2D #D59950 #E0B681

Accessibility & contrast

On white

3.52
#BA7B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#BA7B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7B2D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7B2D#FFFFFF#000000##000000
##BA7B2D1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#9F8E2F
Tritanopia (blue-blind)
#CB6C6B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7b2d;
/* rgb */ color: rgb(186, 123, 45);
/* oklch */ color: oklch(63.5% 0.120 67.7);
Tailwind
colors: {
  custom: {
    50: '#d4a16b',
    500: '#ba7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba7b2d;
$custom-light: #d4a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7b2d",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 33.191,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6348,
    "c": 0.12002,
    "h": 67.7
  },
  "luminance": 0.24794
}

Semantic roles & 50–950 ramp

primary
#BA7B2D
secondary
#799DC9
accent
#8BE444
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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