#BAA145#BAA145

#BAA145 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.115 H 94.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#BAA145
RGBrgb(186, 161, 69)
HSLhsl(47, 46%, 50%)
HSVhsv(47, 63%, 73%)
CMYKcmyk(0%, 13.4%, 62.9%, 27.1%)
CIE-LABlab(66.79, -1.69, 50.02)
CIE-LCHlch(66.79, 50.05, 91.94°)
OKLaboklab(71.32% -0.0082 0.1146)
OKLCHoklch(71.32% 0.115 94.1)
XYZxyz(34.0703, 36.3602, 10.8527)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA145 #455EBA
analogous
#BA6645 #BAA145 #99BA45
triadic
#BAA145 #45BAA1 #A145BA
tetradic
#BAA145 #45BA66 #455EBA #BA4599
square
#BAA145 #45BA66 #455EBA #BA4599
split-complementary
#BAA145 #4599BA #6645BA
monochromatic
#615424 #8D7A34 #BAA145 #CBB872 #DBCE9E

Accessibility & contrast

On white

2.54
#BAA145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#BAA145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA145
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA145#FFFFFF#000000##000000
##BAA1451.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3B
Deuteranopia (green-blind)
#B7A649
Tritanopia (blue-blind)
#C8958D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa145;
/* rgb */ color: rgb(186, 161, 69);
/* oklch */ color: oklch(71.3% 0.115 94.1);
Tailwind
colors: {
  custom: {
    50: '#d2bc7c',
    500: '#baa145',
    950: '#000000',
  },
}
SCSS
$custom: #baa145;
$custom-light: #d2bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#baa145",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 47.179,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.1149,
    "h": 94.1
  },
  "luminance": 0.36359
}

Semantic roles & 50–950 ramp

primary
#BAA145
secondary
#939EC8
accent
#6ED652
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA145

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

Preview Lab → · Contrast checker → · Palette generator →

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