#BAAA52#BAAA52

#BAAA52 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.4% C 0.111 H 99.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#BAAA52
RGBrgb(186, 170, 82)
HSLhsl(51, 43%, 53%)
HSVhsv(51, 56%, 73%)
CMYKcmyk(0%, 8.6%, 55.9%, 27.1%)
CIE-LABlab(69.33, -5.52, 46.75)
CIE-LCHlch(69.33, 47.08, 96.74°)
OKLaboklab(73.37% -0.0176 0.1093)
OKLCHoklch(73.37% 0.111 99.2)
XYZxyz(36.1487, 39.7992, 13.7589)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA52 #5262BA
analogous
#BA7652 #BAAA52 #96BA52
triadic
#BAAA52 #52BAAA #AA52BA
tetradic
#BAAA52 #52BA76 #5262BA #BA5296
square
#BAAA52 #52BA76 #5262BA #BA5296
split-complementary
#BAAA52 #5296BA #7652BA
monochromatic
#685E2A #94863B #BAAA52 #CBBF7E #DDD5AA

Accessibility & contrast

On white

2.34
#BAAA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#BAAA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA52
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA52#FFFFFF#000000##000000
##BAAA521.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A649
Deuteranopia (green-blind)
#BDAC56
Tritanopia (blue-blind)
#C79F96
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa52;
/* rgb */ color: rgb(186, 170, 82);
/* oklch */ color: oklch(73.4% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#d1c385',
    500: '#baaa52',
    950: '#000000',
  },
}
SCSS
$custom: #baaa52;
$custom-light: #d1c385;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa52",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 82
  },
  "hsl": {
    "h": 50.769,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73369,
    "c": 0.11066,
    "h": 99.2
  },
  "luminance": 0.39798
}

Semantic roles & 50–950 ramp

primary
#BAAA52
secondary
#9DA4CA
accent
#68D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAA52

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

Preview Lab → · Contrast checker → · Palette generator →

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