#BA992A#BA992A

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

Color values

HEX#BA992A
RGBrgb(186, 153, 42)
HSLhsl(46, 63%, 45%)
HSVhsv(46, 77%, 73%)
CMYKcmyk(0%, 17.7%, 77.4%, 27.1%)
CIE-LABlab(64.48, 1.18, 58.84)
CIE-LCHlch(64.48, 58.85, 88.86°)
OKLaboklab(69.43% -0.0031 0.1285)
OKLCHoklch(69.43% 0.129 91.4)
XYZxyz(32.0607, 33.3907, 6.9464)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA992A #2A4BBA
analogous
#BA512A #BA992A #93BA2A
triadic
#BA992A #2ABA99 #992ABA
tetradic
#BA992A #2ABA51 #2A4BBA #BA2A93
square
#BA992A #2ABA51 #2A4BBA #BA2A93
split-complementary
#BA992A #2A93BA #512ABA
monochromatic
#564713 #88701F #BA992A #D6B64B #E2CB7D

Accessibility & contrast

On white

2.74
#BA992A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA992A#FFFFFF#000000##000000
##BA992A1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba992a;
/* rgb */ color: rgb(186, 153, 42);
/* oklch */ color: oklch(69.4% 0.129 91.4);
Tailwind
colors: {
  custom: {
    50: '#d3b66c',
    500: '#ba992a',
    950: '#000000',
  },
}
SCSS
$custom: #ba992a;
$custom-light: #d3b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba992a",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 46.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69426,
    "c": 0.12854,
    "h": 91.4
  },
  "luminance": 0.33389
}

Semantic roles & 50–950 ramp

primary
#BA992A
secondary
#7689CA
accent
#67E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA992A

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

Preview Lab → · Contrast checker → · Palette generator →

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