#BAA85B#BAA85B

#BAA85B is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.100 H 96.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BAA85B
RGBrgb(186, 168, 91)
HSLhsl(49, 41%, 54%)
HSVhsv(49, 51%, 73%)
CMYKcmyk(0%, 9.7%, 51.1%, 27.1%)
CIE-LABlab(68.90, -3.70, 41.81)
CIE-LCHlch(68.90, 41.98, 95.05°)
OKLaboklab(73.06% -0.0113 0.0994)
OKLCHoklch(73.06% 0.1 96.5)
XYZxyz(36.1418, 39.2011, 15.5583)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA85B #5B6DBA
analogous
#BA795B #BAA85B #9DBA5B
triadic
#BAA85B #5BBAA8 #A85BBA
tetradic
#BAA85B #5BBA79 #5B6DBA #BA5B9D
square
#BAA85B #5BBA79 #5B6DBA #BA5B9D
split-complementary
#BAA85B #5B9DBA #795BBA
monochromatic
#6D612E #988740 #BAA85B #CCBF86 #DED6B1

Accessibility & contrast

On white

2.38
#BAA85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#BAA85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA85B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA85B#FFFFFF#000000##000000
##BAA85B1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A554
Deuteranopia (green-blind)
#BAAB5E
Tritanopia (blue-blind)
#C69E96
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa85b;
/* rgb */ color: rgb(186, 168, 91);
/* oklch */ color: oklch(73.1% 0.100 96.5);
Tailwind
colors: {
  custom: {
    50: '#d1c18b',
    500: '#baa85b',
    950: '#000000',
  },
}
SCSS
$custom: #baa85b;
$custom-light: #d1c18b;
$custom-dark: #000000;
JSON
{
  "hex": "#baa85b",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 91
  },
  "hsl": {
    "h": 48.632,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.73062,
    "c": 0.10002,
    "h": 96.5
  },
  "luminance": 0.392
}

Semantic roles & 50–950 ramp

primary
#BAA85B
secondary
#A4ACCD
accent
#6ED157
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BAA85B

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

Preview Lab → · Contrast checker → · Palette generator →

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