#BA9F35#BA9F35

#BA9F35 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.8% C 0.126 H 94.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#BA9F35
RGBrgb(186, 159, 53)
HSLhsl(48, 56%, 47%)
HSVhsv(48, 72%, 73%)
CMYKcmyk(0%, 14.5%, 71.5%, 27.1%)
CIE-LABlab(66.13, -1.56, 56.25)
CIE-LCHlch(66.13, 56.27, 91.59°)
OKLaboklab(70.76% -0.0097 0.1252)
OKLCHoklch(70.76% 0.126 94.4)
XYZxyz(33.2922, 35.4943, 8.4650)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9F35 #3550BA
analogous
#BA5D35 #BA9F35 #93BA35
triadic
#BA9F35 #35BA9F #9F35BA
tetradic
#BA9F35 #35BA5D #3550BA #BA3593
square
#BA9F35 #35BA5D #3550BA #BA3593
split-complementary
#BA9F35 #3593BA #5D35BA
monochromatic
#5B4E1A #8A7627 #BA9F35 #D0B95C #DECD8B

Accessibility & contrast

On white

2.59
#BA9F35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#BA9F35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9F35
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9F35#FFFFFF#000000##000000
##BA9F351.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C25
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#C9928A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba9f35;
/* rgb */ color: rgb(186, 159, 53);
/* oklch */ color: oklch(70.8% 0.126 94.4);
Tailwind
colors: {
  custom: {
    50: '#d2bb73',
    500: '#ba9f35',
    950: '#000000',
  },
}
SCSS
$custom: #ba9f35;
$custom-light: #d2bb73;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9f35",
  "rgb": {
    "r": 186,
    "g": 159,
    "b": 53
  },
  "hsl": {
    "h": 47.82,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70756,
    "c": 0.12556,
    "h": 94.4
  },
  "luminance": 0.35492
}

Semantic roles & 50–950 ramp

primary
#BA9F35
secondary
#8291C8
accent
#67DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9F35

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

Preview Lab → · Contrast checker → · Palette generator →

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