#BA9A35#BA9A35

#BA9A35 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.7% C 0.122 H 90.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#BA9A35
RGBrgb(186, 154, 53)
HSLhsl(46, 56%, 47%)
HSVhsv(46, 72%, 73%)
CMYKcmyk(0%, 17.2%, 71.5%, 27.1%)
CIE-LABlab(64.81, 1.13, 54.92)
CIE-LCHlch(64.81, 54.94, 88.82°)
OKLaboklab(69.71% -0.002 0.1224)
OKLCHoklch(69.71% 0.122 90.9)
XYZxyz(32.4497, 33.8093, 8.1842)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9A35 #3555BA
analogous
#BA5835 #BA9A35 #98BA35
triadic
#BA9A35 #35BA9A #9A35BA
tetradic
#BA9A35 #35BA58 #3555BA #BA3598
square
#BA9A35 #35BA58 #3555BA #BA3598
split-complementary
#BA9A35 #3598BA #5835BA
monochromatic
#5B4B1A #8A7327 #BA9A35 #D0B45C #DECA8B

Accessibility & contrast

On white

2.71
#BA9A35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#BA9A35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9A35
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9A35#FFFFFF#000000##000000
##BA9A351.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9827
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#C98D86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba9a35;
/* rgb */ color: rgb(186, 154, 53);
/* oklch */ color: oklch(69.7% 0.122 90.9);
Tailwind
colors: {
  custom: {
    50: '#d3b772',
    500: '#ba9a35',
    950: '#000000',
  },
}
SCSS
$custom: #ba9a35;
$custom-light: #d3b772;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9a35",
  "rgb": {
    "r": 186,
    "g": 154,
    "b": 53
  },
  "hsl": {
    "h": 45.564,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69713,
    "c": 0.1224,
    "h": 90.9
  },
  "luminance": 0.33807
}

Semantic roles & 50–950 ramp

primary
#BA9A35
secondary
#8293C8
accent
#6DDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9A35

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

Preview Lab → · Contrast checker → · Palette generator →

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