#BAAA39#BAAA39

#BAAA39 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.131 H 101.1°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BAAA39
RGBrgb(186, 170, 57)
HSLhsl(53, 53%, 48%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8.6%, 69.4%, 27.1%)
CIE-LABlab(69.10, -7.19, 57.62)
CIE-LCHlch(69.10, 58.07, 97.12°)
OKLaboklab(73.12% -0.0253 0.1288)
OKLCHoklch(73.12% 0.131 101.1)
XYZxyz(35.3645, 39.4855, 9.6288)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA39 #3949BA
analogous
#BA6939 #BAAA39 #8ABA39
triadic
#BAAA39 #39BAAA #AA39BA
tetradic
#BAAA39 #39BA69 #3949BA #BA398A
square
#BAAA39 #39BA69 #3949BA #BA398A
split-complementary
#BAAA39 #398ABA #6939BA
monochromatic
#5C541C #8B7F2B #BAAA39 #CFC161 #DDD490

Accessibility & contrast

On white

2.36
#BAAA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#BAAA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA39
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA39#FFFFFF#000000##000000
##BAAA391.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA529
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#C89E93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa39;
/* rgb */ color: rgb(186, 170, 57);
/* oklch */ color: oklch(73.1% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#d2c376',
    500: '#baaa39',
    950: '#000000',
  },
}
SCSS
$custom: #baaa39;
$custom-light: #d2c376;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa39",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 52.558,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73118,
    "c": 0.13126,
    "h": 101.1
  },
  "luminance": 0.39484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAAA39

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

Preview Lab → · Contrast checker → · Palette generator →

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