#BA992E#BA992E

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

Color values

HEX#BA992E
RGBrgb(186, 153, 46)
HSLhsl(46, 60%, 45%)
HSVhsv(46, 75%, 73%)
CMYKcmyk(0%, 17.7%, 75.3%, 27.1%)
CIE-LABlab(64.50, 1.34, 57.39)
CIE-LCHlch(64.50, 57.40, 88.66°)
OKLaboklab(69.45% -0.0022 0.1262)
OKLCHoklch(69.45% 0.126 91)
XYZxyz(32.1359, 33.4208, 7.3425)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA992E #2E4FBA
analogous
#BA532E #BA992E #95BA2E
triadic
#BA992E #2EBA99 #992EBA
tetradic
#BA992E #2EBA53 #2E4FBA #BA2E95
square
#BA992E #2EBA53 #2E4FBA #BA2E95
split-complementary
#BA992E #2E95BA #532EBA
monochromatic
#584816 #897122 #BA992E #D4B551 #E0CA82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA992E#FFFFFF#000000##000000
##BA992E1.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)
#AA971C
Deuteranopia (green-blind)
#B3A034
Tritanopia (blue-blind)
#C98C84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba992e;
/* rgb */ color: rgb(186, 153, 46);
/* oklch */ color: oklch(69.5% 0.126 91.0);
Tailwind
colors: {
  custom: {
    50: '#d3b66e',
    500: '#ba992e',
    950: '#000000',
  },
}
SCSS
$custom: #ba992e;
$custom-light: #d3b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba992e",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 46
  },
  "hsl": {
    "h": 45.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.12625,
    "h": 91
  },
  "luminance": 0.33419
}

Semantic roles & 50–950 ramp

primary
#BA992E
secondary
#7B8DC9
accent
#6AE344
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BA992E

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

Preview Lab → · Contrast checker → · Palette generator →

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