#BA9829#BA9829

#BA9829 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.2% C 0.129 H 90.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BA9829
RGBrgb(186, 152, 41)
HSLhsl(46, 64%, 45%)
HSVhsv(46, 78%, 73%)
CMYKcmyk(0%, 18.3%, 78%, 27.1%)
CIE-LABlab(64.21, 1.68, 58.94)
CIE-LCHlch(64.21, 58.97, 88.37°)
OKLaboklab(69.21% -0.0018 0.1285)
OKLCHoklch(69.21% 0.129 90.8)
XYZxyz(31.8801, 33.0577, 6.7990)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9829 #294BBA
analogous
#BA5029 #BA9829 #94BA29
triadic
#BA9829 #29BA98 #9829BA
tetradic
#BA9829 #29BA50 #294BBA #BA2994
square
#BA9829 #29BA50 #294BBA #BA2994
split-complementary
#BA9829 #2994BA #5029BA
monochromatic
#564613 #886F1E #BA9829 #D7B649 #E2CA7B

Accessibility & contrast

On white

2.76
#BA9829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BA9829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9829
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9829#FFFFFF#000000##000000
##BA98291.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9613
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#CA8B83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9829;
/* rgb */ color: rgb(186, 152, 41);
/* oklch */ color: oklch(69.2% 0.129 90.8);
Tailwind
colors: {
  custom: {
    50: '#d3b56c',
    500: '#ba9829',
    950: '#000000',
  },
}
SCSS
$custom: #ba9829;
$custom-light: #d3b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9829",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 41
  },
  "hsl": {
    "h": 45.931,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69213,
    "c": 0.12853,
    "h": 90.8
  },
  "luminance": 0.33056
}

Semantic roles & 50–950 ramp

primary
#BA9829
secondary
#7589CA
accent
#68E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9829

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

Preview Lab → · Contrast checker → · Palette generator →

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