#BAAA4F#BAAA4F

#BAAA4F is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.3% C 0.113 H 99.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#BAAA4F
RGBrgb(186, 170, 79)
HSLhsl(51, 44%, 52%)
HSVhsv(51, 58%, 73%)
CMYKcmyk(0%, 8.6%, 57.5%, 27.1%)
CIE-LABlab(69.29, -5.76, 48.15)
CIE-LCHlch(69.29, 48.49, 96.82°)
OKLaboklab(73.33% -0.0186 0.1119)
OKLCHoklch(73.33% 0.113 99.5)
XYZxyz(36.0370, 39.7545, 13.1708)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA4F #4F5FBA
analogous
#BA754F #BAAA4F #95BA4F
triadic
#BAAA4F #4FBAAA #AA4FBA
tetradic
#BAAA4F #4FBA75 #4F5FBA #BA4F95
square
#BAAA4F #4FBA75 #4F5FBA #BA4F95
split-complementary
#BAAA4F #4F95BA #754FBA
monochromatic
#665D28 #928539 #BAAA4F #CBBF7B #DCD4A7

Accessibility & contrast

On white

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

On black

8.95
#BAAA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA4F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA4F#FFFFFF#000000##000000
##BAAA4F1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baaa4f;
/* rgb */ color: rgb(186, 170, 79);
/* oklch */ color: oklch(73.3% 0.113 99.5);
Tailwind
colors: {
  custom: {
    50: '#d1c383',
    500: '#baaa4f',
    950: '#000000',
  },
}
SCSS
$custom: #baaa4f;
$custom-light: #d1c383;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa4f",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 79
  },
  "hsl": {
    "h": 51.028,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73333,
    "c": 0.11346,
    "h": 99.5
  },
  "luminance": 0.39753
}

Semantic roles & 50–950 ramp

primary
#BAAA4F
secondary
#9BA2CA
accent
#67D354
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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