#BA9E39#BA9E39

#BA9E39 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.122 H 93.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#BA9E39
RGBrgb(186, 158, 57)
HSLhsl(47, 53%, 48%)
HSVhsv(47, 69%, 73%)
CMYKcmyk(0%, 15.1%, 69.4%, 27.1%)
CIE-LABlab(65.90, -0.81, 54.36)
CIE-LCHlch(65.90, 54.37, 90.86°)
OKLaboklab(70.58% -0.0071 0.1219)
OKLCHoklch(70.58% 0.122 93.3)
XYZxyz(33.2168, 35.1901, 8.9129)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9E39 #3955BA
analogous
#BA5E39 #BA9E39 #95BA39
triadic
#BA9E39 #39BA9E #9E39BA
tetradic
#BA9E39 #39BA5E #3955BA #BA3995
square
#BA9E39 #39BA5E #3955BA #BA3995
split-complementary
#BA9E39 #3995BA #5E39BA
monochromatic
#5C4E1C #8B762B #BA9E39 #CFB761 #DDCC90

Accessibility & contrast

On white

2.61
#BA9E39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#BA9E39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9E39
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9E39#FFFFFF#000000##000000
##BA9E391.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B2C
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#C99289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba9e39;
/* rgb */ color: rgb(186, 158, 57);
/* oklch */ color: oklch(70.6% 0.122 93.3);
Tailwind
colors: {
  custom: {
    50: '#d2ba75',
    500: '#ba9e39',
    950: '#000000',
  },
}
SCSS
$custom: #ba9e39;
$custom-light: #d2ba75;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9e39",
  "rgb": {
    "r": 186,
    "g": 158,
    "b": 57
  },
  "hsl": {
    "h": 46.977,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7058,
    "c": 0.12212,
    "h": 93.3
  },
  "luminance": 0.35188
}

Semantic roles & 50–950 ramp

primary
#BA9E39
secondary
#8795C8
accent
#6BDC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BA9E39

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

Preview Lab → · Contrast checker → · Palette generator →

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