#BAAA51#BAAA51

#BAAA51 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.4% C 0.112 H 99.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#BAAA51
RGBrgb(186, 170, 81)
HSLhsl(51, 43%, 52%)
HSVhsv(51, 56%, 73%)
CMYKcmyk(0%, 8.6%, 56.5%, 27.1%)
CIE-LABlab(69.32, -5.60, 47.22)
CIE-LCHlch(69.32, 47.55, 96.77°)
OKLaboklab(73.36% -0.018 0.1102)
OKLCHoklch(73.36% 0.112 99.3)
XYZxyz(36.1109, 39.7841, 13.5599)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA51 #5161BA
analogous
#BA7551 #BAAA51 #96BA51
triadic
#BAAA51 #51BAAA #AA51BA
tetradic
#BAAA51 #51BA75 #5161BA #BA5196
square
#BAAA51 #51BA75 #5161BA #BA5196
split-complementary
#BAAA51 #5196BA #7551BA
monochromatic
#685E29 #93863A #BAAA51 #CBBF7D #DDD5A9

Accessibility & contrast

On white

2.34
#BAAA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#BAAA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA51
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA51#FFFFFF#000000##000000
##BAAA511.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baaa51;
/* rgb */ color: rgb(186, 170, 81);
/* oklch */ color: oklch(73.4% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#d1c385',
    500: '#baaa51',
    950: '#000000',
  },
}
SCSS
$custom: #baaa51;
$custom-light: #d1c385;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa51",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 81
  },
  "hsl": {
    "h": 50.857,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73357,
    "c": 0.11161,
    "h": 99.3
  },
  "luminance": 0.39783
}

Semantic roles & 50–950 ramp

primary
#BAAA51
secondary
#9DA4CA
accent
#68D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAA51

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

Preview Lab → · Contrast checker → · Palette generator →

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