#BA992B#BA992B

#BA992B is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.4% C 0.128 H 91.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#BA992B
RGBrgb(186, 153, 43)
HSLhsl(46, 62%, 45%)
HSVhsv(46, 77%, 73%)
CMYKcmyk(0%, 17.7%, 76.9%, 27.1%)
CIE-LABlab(64.48, 1.22, 58.48)
CIE-LCHlch(64.48, 58.49, 88.81°)
OKLaboklab(69.43% -0.0029 0.128)
OKLCHoklch(69.43% 0.128 91.3)
XYZxyz(32.0788, 33.3980, 7.0419)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA992B #2B4CBA
analogous
#BA522B #BA992B #93BA2B
triadic
#BA992B #2BBA99 #992BBA
tetradic
#BA992B #2BBA52 #2B4CBA #BA2B93
square
#BA992B #2BBA52 #2B4CBA #BA2B93
split-complementary
#BA992B #2B93BA #522BBA
monochromatic
#574714 #887020 #BA992B #D6B64C #E1CA7E

Accessibility & contrast

On white

2.73
#BA992B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#BA992B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA992B
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA992B#FFFFFF#000000##000000
##BA992B1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9716
Deuteranopia (green-blind)
#B3A031
Tritanopia (blue-blind)
#CA8C84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba992b;
/* rgb */ color: rgb(186, 153, 43);
/* oklch */ color: oklch(69.4% 0.128 91.3);
Tailwind
colors: {
  custom: {
    50: '#d3b66d',
    500: '#ba992b',
    950: '#000000',
  },
}
SCSS
$custom: #ba992b;
$custom-light: #d3b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba992b",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 46.154,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69433,
    "c": 0.12798,
    "h": 91.3
  },
  "luminance": 0.33396
}

Semantic roles & 50–950 ramp

primary
#BA992B
secondary
#778ACA
accent
#68E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA992B

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

Preview Lab → · Contrast checker → · Palette generator →

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