#BAA645#BAA645

#BAA645 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.4% C 0.119 H 97.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#BAA645
RGBrgb(186, 166, 69)
HSLhsl(50, 46%, 50%)
HSVhsv(50, 63%, 73%)
CMYKcmyk(0%, 10.8%, 62.9%, 27.1%)
CIE-LABlab(68.13, -4.36, 51.48)
CIE-LCHlch(68.13, 51.66, 94.84°)
OKLaboklab(72.38% -0.0158 0.1177)
OKLCHoklch(72.38% 0.119 97.7)
XYZxyz(34.9616, 38.1428, 11.1498)
Luminance0.3814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA645 #4559BA
analogous
#BA6C45 #BAA645 #93BA45
triadic
#BAA645 #45BAA6 #A645BA
tetradic
#BAA645 #45BA6C #4559BA #BA4593
square
#BAA645 #45BA6C #4559BA #BA4593
split-complementary
#BAA645 #4593BA #6C45BA
monochromatic
#615624 #8D7E34 #BAA645 #CBBB72 #DBD19E

Accessibility & contrast

On white

2.43
#BAA645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#BAA645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA645
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA645#FFFFFF#000000##000000
##BAA6451.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#BBA94A
Tritanopia (blue-blind)
#C89A91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa645;
/* rgb */ color: rgb(186, 166, 69);
/* oklch */ color: oklch(72.4% 0.119 97.7);
Tailwind
colors: {
  custom: {
    50: '#d2c07d',
    500: '#baa645',
    950: '#000000',
  },
}
SCSS
$custom: #baa645;
$custom-light: #d2c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#baa645",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 49.744,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.72376,
    "c": 0.11878,
    "h": 97.7
  },
  "luminance": 0.38141
}

Semantic roles & 50–950 ramp

primary
#BAA645
secondary
#939CC8
accent
#69D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA645

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

Preview Lab → · Contrast checker → · Palette generator →

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