#BAAB4E#BAAB4E

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

Color values

HEX#BAAB4E
RGBrgb(186, 171, 78)
HSLhsl(52, 44%, 52%)
HSVhsv(52, 58%, 73%)
CMYKcmyk(0%, 8.1%, 58.1%, 27.1%)
CIE-LABlab(69.55, -6.36, 48.91)
CIE-LCHlch(69.55, 49.33, 97.41°)
OKLaboklab(73.53% -0.0205 0.1134)
OKLCHoklch(73.53% 0.115 100.2)
XYZxyz(36.1891, 40.1164, 13.0432)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB4E #4E5DBA
analogous
#BA754E #BAAB4E #93BA4E
triadic
#BAAB4E #4EBAAB #AB4EBA
tetradic
#BAAB4E #4EBA75 #4E5DBA #BA4E93
square
#BAAB4E #4EBA75 #4E5DBA #BA4E93
split-complementary
#BAAB4E #4E93BA #754EBA
monochromatic
#665D28 #928639 #BAAB4E #CBC07A #DCD5A6

Accessibility & contrast

On white

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

On black

9.02
#BAAB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB4E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB4E#FFFFFF#000000##000000
##BAAB4E1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baab4e;
/* rgb */ color: rgb(186, 171, 78);
/* oklch */ color: oklch(73.5% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#d1c383',
    500: '#baab4e',
    950: '#000000',
  },
}
SCSS
$custom: #baab4e;
$custom-light: #d1c383;
$custom-dark: #000000;
JSON
{
  "hex": "#baab4e",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 51.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73534,
    "c": 0.11528,
    "h": 100.2
  },
  "luminance": 0.40115
}

Semantic roles & 50–950 ramp

primary
#BAAB4E
secondary
#9AA1CA
accent
#66D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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