#BAAB4F#BAAB4F

#BAAB4F is a light, moderate yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.114 H 100.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#BAAB4F
RGBrgb(186, 171, 79)
HSLhsl(52, 44%, 52%)
HSVhsv(52, 58%, 73%)
CMYKcmyk(0%, 8.1%, 57.5%, 27.1%)
CIE-LABlab(69.56, -6.29, 48.45)
CIE-LCHlch(69.56, 48.86, 97.39°)
OKLaboklab(73.55% -0.0202 0.1126)
OKLCHoklch(73.55% 0.114 100.2)
XYZxyz(36.2252, 40.1309, 13.2335)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB4F #4F5EBA
analogous
#BA764F #BAAB4F #93BA4F
triadic
#BAAB4F #4FBAAB #AB4FBA
tetradic
#BAAB4F #4FBA76 #4F5EBA #BA4F93
square
#BAAB4F #4FBA76 #4F5EBA #BA4F93
split-complementary
#BAAB4F #4F93BA #764FBA
monochromatic
#665E28 #928639 #BAAB4F #CBC07B #DCD5A7

Accessibility & contrast

On white

2.33
#BAAB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#BAAB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB4F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB4F#FFFFFF#000000##000000
##BAAB4F1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A746
Deuteranopia (green-blind)
#BEAC53
Tritanopia (blue-blind)
#C7A097
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baab4f;
/* rgb */ color: rgb(186, 171, 79);
/* oklch */ color: oklch(73.5% 0.114 100.2);
Tailwind
colors: {
  custom: {
    50: '#d1c383',
    500: '#baab4f',
    950: '#000000',
  },
}
SCSS
$custom: #baab4f;
$custom-light: #d1c383;
$custom-dark: #000000;
JSON
{
  "hex": "#baab4f",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 51.589,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73546,
    "c": 0.11436,
    "h": 100.2
  },
  "luminance": 0.40129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAAB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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