#BAAA55#BAAA55

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

Color values

HEX#BAAA55
RGBrgb(186, 170, 85)
HSLhsl(50, 42%, 53%)
HSVhsv(50, 54%, 73%)
CMYKcmyk(0%, 8.6%, 54.3%, 27.1%)
CIE-LABlab(69.36, -5.28, 45.34)
CIE-LCHlch(69.36, 45.64, 96.64°)
OKLaboklab(73.41% -0.0166 0.1065)
OKLCHoklch(73.41% 0.108 98.8)
XYZxyz(36.2654, 39.8459, 14.3733)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA55 #5565BA
analogous
#BA7755 #BAAA55 #97BA55
triadic
#BAAA55 #55BAAA #AA55BA
tetradic
#BAAA55 #55BA77 #5565BA #BA5597
square
#BAAA55 #55BA77 #5565BA #BA5597
split-complementary
#BAAA55 #5597BA #7755BA
monochromatic
#6A602B #95873D #BAAA55 #CCC081 #DDD6AC

Accessibility & contrast

On white

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

On black

8.97
#BAAA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA55
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA55#FFFFFF#000000##000000
##BAAA551.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64D
Deuteranopia (green-blind)
#BCAC59
Tritanopia (blue-blind)
#C79F97
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa55;
/* rgb */ color: rgb(186, 170, 85);
/* oklch */ color: oklch(73.4% 0.108 98.8);
Tailwind
colors: {
  custom: {
    50: '#d1c387',
    500: '#baaa55',
    950: '#000000',
  },
}
SCSS
$custom: #baaa55;
$custom-light: #d1c387;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa55",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 85
  },
  "hsl": {
    "h": 50.495,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.73406,
    "c": 0.10779,
    "h": 98.8
  },
  "luminance": 0.39844
}

Semantic roles & 50–950 ramp

primary
#BAAA55
secondary
#A0A7CB
accent
#69D256
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAA55

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

Preview Lab → · Contrast checker → · Palette generator →

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