#BA992C#BA992C

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

Color values

HEX#BA992C
RGBrgb(186, 153, 44)
HSLhsl(46, 62%, 45%)
HSVhsv(46, 76%, 73%)
CMYKcmyk(0%, 17.7%, 76.3%, 27.1%)
CIE-LABlab(64.49, 1.26, 58.12)
CIE-LCHlch(64.49, 58.14, 88.76°)
OKLaboklab(69.44% -0.0026 0.1274)
OKLCHoklch(69.44% 0.127 91.2)
XYZxyz(32.0974, 33.4054, 7.1397)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA992C #2C4DBA
analogous
#BA522C #BA992C #94BA2C
triadic
#BA992C #2CBA99 #992CBA
tetradic
#BA992C #2CBA52 #2C4DBA #BA2C94
square
#BA992C #2CBA52 #2C4DBA #BA2C94
split-complementary
#BA992C #2C94BA #522CBA
monochromatic
#574815 #897020 #BA992C #D5B64E #E1CA80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA992C#FFFFFF#000000##000000
##BA992C1.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)
#AB9718
Deuteranopia (green-blind)
#B3A032
Tritanopia (blue-blind)
#CA8C84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba992c;
/* rgb */ color: rgb(186, 153, 44);
/* oklch */ color: oklch(69.4% 0.127 91.2);
Tailwind
colors: {
  custom: {
    50: '#d3b66d',
    500: '#ba992c',
    950: '#000000',
  },
}
SCSS
$custom: #ba992c;
$custom-light: #d3b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba992c",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 46.056,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69439,
    "c": 0.12742,
    "h": 91.2
  },
  "luminance": 0.33403
}

Semantic roles & 50–950 ramp

primary
#BA992C
secondary
#788BCA
accent
#69E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA992C

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

Preview Lab → · Contrast checker → · Palette generator →

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