#BAAA71#BAAA71

#BAAA71 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.8% C 0.078 H 94.3°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#BAAA71
RGBrgb(186, 170, 113)
HSLhsl(47, 35%, 59%)
HSVhsv(47, 39%, 73%)
CMYKcmyk(0%, 8.6%, 39.2%, 27.1%)
CIE-LABlab(69.74, -2.51, 31.49)
CIE-LCHlch(69.74, 31.59, 94.55°)
OKLaboklab(73.83% -0.0058 0.0775)
OKLCHoklch(73.83% 0.078 94.3)
XYZxyz(37.6058, 40.3821, 21.4332)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA71 #7181BA
analogous
#BA8571 #BAAA71 #A5BA71
triadic
#BAAA71 #71BAAA #AA71BA
tetradic
#BAAA71 #71BA85 #7181BA #BA71A5
square
#BAAA71 #71BA85 #7181BA #BA71A5
split-complementary
#BAAA71 #71A5BA #8571BA
monochromatic
#77693A #A08E4E #BAAA71 #CEC39A #E2DBC3

Accessibility & contrast

On white

2.31
#BAAA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#BAAA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA71
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA71#FFFFFF#000000##000000
##BAAA711.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A76D
Deuteranopia (green-blind)
#BAAD73
Tritanopia (blue-blind)
#C5A29C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baaa71;
/* rgb */ color: rgb(186, 170, 113);
/* oklch */ color: oklch(73.8% 0.078 94.3);
Tailwind
colors: {
  custom: {
    50: '#d0c39a',
    500: '#baaa71',
    950: '#000000',
  },
}
SCSS
$custom: #baaa71;
$custom-light: #d0c39a;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa71",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 113
  },
  "hsl": {
    "h": 46.849,
    "s": 34.597,
    "l": 58.627
  },
  "oklch": {
    "l": 0.73831,
    "c": 0.0777,
    "h": 94.3
  },
  "luminance": 0.40381
}

Semantic roles & 50–950 ramp

primary
#BAAA71
secondary
#B5BBD2
accent
#75CB5D
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #BAAA71

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

Preview Lab → · Contrast checker → · Palette generator →

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