#BAA939#BAA939

#BAA939 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.130 H 100.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#BAA939
RGBrgb(186, 169, 57)
HSLhsl(52, 53%, 48%)
HSVhsv(52, 69%, 73%)
CMYKcmyk(0%, 9.1%, 69.4%, 27.1%)
CIE-LABlab(68.83, -6.67, 57.35)
CIE-LCHlch(68.83, 57.74, 96.63°)
OKLaboklab(72.91% -0.0238 0.1282)
OKLCHoklch(72.91% 0.13 100.5)
XYZxyz(35.1778, 39.1120, 9.5665)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA939 #394ABA
analogous
#BA6839 #BAA939 #8ABA39
triadic
#BAA939 #39BAA9 #A939BA
tetradic
#BAA939 #39BA68 #394ABA #BA398A
square
#BAA939 #39BA68 #394ABA #BA398A
split-complementary
#BAA939 #398ABA #6839BA
monochromatic
#5C541C #8B7E2B #BAA939 #CFC061 #DDD390

Accessibility & contrast

On white

2.38
#BAA939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#BAA939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA939
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA939#FFFFFF#000000##000000
##BAA9391.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A429
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#C89D92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa939;
/* rgb */ color: rgb(186, 169, 57);
/* oklch */ color: oklch(72.9% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#d2c276',
    500: '#baa939',
    950: '#000000',
  },
}
SCSS
$custom: #baa939;
$custom-light: #d2c276;
$custom-dark: #000000;
JSON
{
  "hex": "#baa939",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 52.093,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72905,
    "c": 0.13042,
    "h": 100.5
  },
  "luminance": 0.3911
}

Semantic roles & 50–950 ramp

primary
#BAA939
secondary
#878FC8
accent
#5EDC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA939

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

Preview Lab → · Contrast checker → · Palette generator →

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