#BAAA47#BAAA47

#BAAA47 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.120 H 100.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BAAA47
RGBrgb(186, 170, 71)
HSLhsl(52, 45%, 50%)
HSVhsv(52, 62%, 73%)
CMYKcmyk(0%, 8.6%, 61.8%, 27.1%)
CIE-LABlab(69.22, -6.34, 51.76)
CIE-LCHlch(69.22, 52.15, 96.98°)
OKLaboklab(73.25% -0.0213 0.1186)
OKLCHoklch(73.25% 0.121 100.2)
XYZxyz(35.7632, 39.6450, 11.7285)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA47 #4757BA
analogous
#BA7047 #BAAA47 #91BA47
triadic
#BAAA47 #47BAAA #AA47BA
tetradic
#BAAA47 #47BA70 #4757BA #BA4791
square
#BAAA47 #47BA70 #4757BA #BA4791
split-complementary
#BAAA47 #4791BA #7047BA
monochromatic
#625925 #8E8235 #BAAA47 #CBBF74 #DBD3A0

Accessibility & contrast

On white

2.35
#BAAA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BAAA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA47
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA47#FFFFFF#000000##000000
##BAAA471.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53C
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#C89F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa47;
/* rgb */ color: rgb(186, 170, 71);
/* oklch */ color: oklch(73.2% 0.120 100.2);
Tailwind
colors: {
  custom: {
    50: '#d2c37e',
    500: '#baaa47',
    950: '#000000',
  },
}
SCSS
$custom: #baaa47;
$custom-light: #d2c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa47",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 71
  },
  "hsl": {
    "h": 51.652,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73246,
    "c": 0.1205,
    "h": 100.2
  },
  "luminance": 0.39643
}

Semantic roles & 50–950 ramp

primary
#BAAA47
secondary
#959CC8
accent
#65D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAA47

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

Preview Lab → · Contrast checker → · Palette generator →

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