#BA9F39#BA9F39

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

Color values

HEX#BA9F39
RGBrgb(186, 159, 57)
HSLhsl(47, 53%, 48%)
HSVhsv(47, 69%, 73%)
CMYKcmyk(0%, 14.5%, 69.4%, 27.1%)
CIE-LABlab(66.16, -1.35, 54.63)
CIE-LCHlch(66.16, 54.65, 91.42°)
OKLaboklab(70.79% -0.0086 0.1225)
OKLCHoklch(70.79% 0.123 94)
XYZxyz(33.3880, 35.5326, 8.9700)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9F39 #3954BA
analogous
#BA5F39 #BA9F39 #94BA39
triadic
#BA9F39 #39BA9F #9F39BA
tetradic
#BA9F39 #39BA5F #3954BA #BA3994
square
#BA9F39 #39BA5F #3954BA #BA3994
split-complementary
#BA9F39 #3994BA #5F39BA
monochromatic
#5C4F1C #8B772B #BA9F39 #CFB861 #DDCD90

Accessibility & contrast

On white

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

On black

8.11
#BA9F39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9F39
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9F39#FFFFFF#000000##000000
##BA9F391.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2B
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#C9938A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba9f39;
/* rgb */ color: rgb(186, 159, 57);
/* oklch */ color: oklch(70.8% 0.123 94.0);
Tailwind
colors: {
  custom: {
    50: '#d2bb75',
    500: '#ba9f39',
    950: '#000000',
  },
}
SCSS
$custom: #ba9f39;
$custom-light: #d2bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9f39",
  "rgb": {
    "r": 186,
    "g": 159,
    "b": 57
  },
  "hsl": {
    "h": 47.442,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70789,
    "c": 0.12279,
    "h": 94
  },
  "luminance": 0.35531
}

Semantic roles & 50–950 ramp

primary
#BA9F39
secondary
#8794C8
accent
#6ADC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9F39

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

Preview Lab → · Contrast checker → · Palette generator →

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