#BAAC3F#BAAC3F

#BAAC3F is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.6% C 0.129 H 102.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BAAC3F
RGBrgb(186, 172, 63)
HSLhsl(53, 49%, 49%)
HSVhsv(53, 66%, 73%)
CMYKcmyk(0%, 7.5%, 66.1%, 27.1%)
CIE-LABlab(69.69, -7.90, 55.76)
CIE-LCHlch(69.69, 56.32, 98.07°)
OKLaboklab(73.6% -0.0266 0.1259)
OKLCHoklch(73.6% 0.129 102)
XYZxyz(35.9009, 40.3045, 10.5901)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC3F #3F4DBA
analogous
#BA6F3F #BAAC3F #8BBA3F
triadic
#BAAC3F #3FBAAC #AC3FBA
tetradic
#BAAC3F #3FBA6F #3F4DBA #BA3F8B
square
#BAAC3F #3FBA6F #3F4DBA #BA3F8B
split-complementary
#BAAC3F #3F8BBA #6F3FBA
monochromatic
#5F5720 #8C8230 #BAAC3F #CCC16A #DCD497

Accessibility & contrast

On white

2.32
#BAAC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#BAAC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC3F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC3F#FFFFFF#000000##000000
##BAAC3F1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#C8A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac3f;
/* rgb */ color: rgb(186, 172, 63);
/* oklch */ color: oklch(73.6% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#d2c47a',
    500: '#baac3f',
    950: '#000000',
  },
}
SCSS
$custom: #baac3f;
$custom-light: #d2c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#baac3f",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 53.171,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73597,
    "c": 0.12866,
    "h": 102
  },
  "luminance": 0.40303
}

Semantic roles & 50–950 ramp

primary
#BAAC3F
secondary
#8D94C8
accent
#5FD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAAC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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