#BA9832#BA9832

#BA9832 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.3% C 0.123 H 89.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#BA9832
RGBrgb(186, 152, 50)
HSLhsl(45, 58%, 46%)
HSVhsv(45, 73%, 73%)
CMYKcmyk(0%, 18.3%, 73.1%, 27.1%)
CIE-LABlab(64.26, 2.07, 55.60)
CIE-LCHlch(64.26, 55.64, 87.87°)
OKLaboklab(69.27% 0.0004 0.1232)
OKLCHoklch(69.27% 0.123 89.8)
XYZxyz(32.0555, 33.1279, 7.7229)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9832 #3254BA
analogous
#BA5432 #BA9832 #98BA32
triadic
#BA9832 #32BA98 #9832BA
tetradic
#BA9832 #32BA54 #3254BA #BA3298
square
#BA9832 #32BA54 #3254BA #BA3298
split-complementary
#BA9832 #3298BA #5432BA
monochromatic
#5A4918 #8A7125 #BA9832 #D2B357 #DFC988

Accessibility & contrast

On white

2.75
#BA9832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#BA9832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9832
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9832#FFFFFF#000000##000000
##BA98321.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99623
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#C98B84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9832;
/* rgb */ color: rgb(186, 152, 50);
/* oklch */ color: oklch(69.3% 0.123 89.8);
Tailwind
colors: {
  custom: {
    50: '#d3b670',
    500: '#ba9832',
    950: '#000000',
  },
}
SCSS
$custom: #ba9832;
$custom-light: #d3b670;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9832",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 50
  },
  "hsl": {
    "h": 45,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69275,
    "c": 0.12323,
    "h": 89.8
  },
  "luminance": 0.33126
}

Semantic roles & 50–950 ramp

primary
#BA9832
secondary
#7F92C9
accent
#6DE147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9832

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

Preview Lab → · Contrast checker → · Palette generator →

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