#BAAC2F#BAAC2F

#BAAC2F is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.139 H 102.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#BAAC2F
RGBrgb(186, 172, 47)
HSLhsl(54, 60%, 46%)
HSVhsv(54, 75%, 73%)
CMYKcmyk(0%, 7.5%, 74.7%, 27.1%)
CIE-LABlab(69.58, -8.73, 61.84)
CIE-LCHlch(69.58, 62.46, 98.03°)
OKLaboklab(73.47% -0.0307 0.1359)
OKLCHoklch(73.47% 0.139 102.7)
XYZxyz(35.5169, 40.1509, 8.5679)
Luminance0.4015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC2F #2F3DBA
analogous
#BA662F #BAAC2F #82BA2F
triadic
#BAAC2F #2FBAAC #AC2FBA
tetradic
#BAAC2F #2FBA66 #2F3DBA #BA2F82
square
#BAAC2F #2FBA66 #2F3DBA #BA2F82
split-complementary
#BAAC2F #2F82BA #662FBA
monochromatic
#585216 #897F23 #BAAC2F #D3C753 #E0D784

Accessibility & contrast

On white

2.33
#BAAC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#BAAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC2F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC2F#FFFFFF#000000##000000
##BAAC2F1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#C0AD38
Tritanopia (blue-blind)
#C8A094
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac2f;
/* rgb */ color: rgb(186, 172, 47);
/* oklch */ color: oklch(73.5% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d3c471',
    500: '#baac2f',
    950: '#000000',
  },
}
SCSS
$custom: #baac2f;
$custom-light: #d3c471;
$custom-dark: #000000;
JSON
{
  "hex": "#baac2f",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 53.957,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73475,
    "c": 0.13932,
    "h": 102.7
  },
  "luminance": 0.40149
}

Semantic roles & 50–950 ramp

primary
#BAAC2F
secondary
#7C84C9
accent
#55E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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