#BAAA3A#BAAA3A

#BAAA3A 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#BAAA3A
RGBrgb(186, 170, 58)
HSLhsl(53, 52%, 48%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8.6%, 68.8%, 27.1%)
CIE-LABlab(69.11, -7.14, 57.23)
CIE-LCHlch(69.11, 57.67, 97.11°)
OKLaboklab(73.13% -0.025 0.1281)
OKLCHoklch(73.13% 0.131 101.1)
XYZxyz(35.3897, 39.4956, 9.7615)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA3A #3A4ABA
analogous
#BA6A3A #BAAA3A #8ABA3A
triadic
#BAAA3A #3ABAAA #AA3ABA
tetradic
#BAAA3A #3ABA6A #3A4ABA #BA3A8A
square
#BAAA3A #3ABA6A #3A4ABA #BA3A8A
split-complementary
#BAAA3A #3A8ABA #6A3ABA
monochromatic
#5D551D #8B7F2B #BAAA3A #CEC163 #DDD392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAA3A#FFFFFF#000000##000000
##BAAA3A1.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)
#BAA52A
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#C89E93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa3a;
/* rgb */ color: rgb(186, 170, 58);
/* oklch */ color: oklch(73.1% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#d2c377',
    500: '#baaa3a',
    950: '#000000',
  },
}
SCSS
$custom: #baaa3a;
$custom-light: #d2c377;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa3a",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 52.5,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73126,
    "c": 0.13056,
    "h": 101.1
  },
  "luminance": 0.39494
}

Semantic roles & 50–950 ramp

primary
#BAAA3A
secondary
#8890C8
accent
#5EDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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