#BAAA46#BAAA46

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

Color values

HEX#BAAA46
RGBrgb(186, 170, 70)
HSLhsl(52, 46%, 50%)
HSVhsv(52, 62%, 73%)
CMYKcmyk(0%, 8.6%, 62.4%, 27.1%)
CIE-LABlab(69.21, -6.41, 52.20)
CIE-LCHlch(69.21, 52.60, 97.00°)
OKLaboklab(73.24% -0.0216 0.1194)
OKLCHoklch(73.24% 0.121 100.2)
XYZxyz(35.7313, 39.6323, 11.5608)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA46 #4656BA
analogous
#BA7046 #BAAA46 #90BA46
triadic
#BAAA46 #46BAAA #AA46BA
tetradic
#BAAA46 #46BA70 #4656BA #BA4690
square
#BAAA46 #46BA70 #4656BA #BA4690
split-complementary
#BAAA46 #4690BA #7046BA
monochromatic
#615924 #8E8235 #BAAA46 #CBBE73 #DBD39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAA46#FFFFFF#000000##000000
##BAAA461.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)
#B9A53B
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#C89F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa46;
/* rgb */ color: rgb(186, 170, 70);
/* oklch */ color: oklch(73.2% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#d2c37e',
    500: '#baaa46',
    950: '#000000',
  },
}
SCSS
$custom: #baaa46;
$custom-light: #d2c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa46",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 70
  },
  "hsl": {
    "h": 51.724,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73235,
    "c": 0.12134,
    "h": 100.2
  },
  "luminance": 0.39631
}

Semantic roles & 50–950 ramp

primary
#BAAA46
secondary
#949BC8
accent
#65D552
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAA46

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

Preview Lab → · Contrast checker → · Palette generator →

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