#BAA45F#BAA45F

#BAA45F is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.093 H 92.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#BAA45F
RGBrgb(186, 164, 95)
HSLhsl(45, 40%, 55%)
HSVhsv(45, 49%, 73%)
CMYKcmyk(0%, 11.8%, 48.9%, 27.1%)
CIE-LABlab(67.89, -1.19, 38.55)
CIE-LCHlch(67.89, 38.56, 91.76°)
OKLaboklab(72.28% -0.0036 0.0925)
OKLCHoklch(72.28% 0.093 92.2)
XYZxyz(35.5919, 37.8178, 16.2490)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA45F #5F75BA
analogous
#BA775F #BAA45F #A2BA5F
triadic
#BAA45F #5FBAA4 #A45FBA
tetradic
#BAA45F #5FBA77 #5F75BA #BA5FA2
square
#BAA45F #5FBA77 #5F75BA #BA5FA2
split-complementary
#BAA45F #5FA2BA #775FBA
monochromatic
#6F6030 #9A8442 #BAA45F #CCBC8A #DFD5B5

Accessibility & contrast

On white

2.45
#BAA45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#BAA45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA45F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA45F#FFFFFF#000000##000000
##BAA45F1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A259
Deuteranopia (green-blind)
#B7A862
Tritanopia (blue-blind)
#C69A93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa45f;
/* rgb */ color: rgb(186, 164, 95);
/* oklch */ color: oklch(72.3% 0.093 92.2);
Tailwind
colors: {
  custom: {
    50: '#d1be8e',
    500: '#baa45f',
    950: '#000000',
  },
}
SCSS
$custom: #baa45f;
$custom-light: #d1be8e;
$custom-dark: #000000;
JSON
{
  "hex": "#baa45f",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 45.495,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.09254,
    "h": 92.2
  },
  "luminance": 0.37816
}

Semantic roles & 50–950 ramp

primary
#BAA45F
secondary
#A7B1CD
accent
#75D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BAA45F

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

Preview Lab → · Contrast checker → · Palette generator →

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