#BAAA3F#BAAA3F

#BAAA3F is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.2% C 0.127 H 100.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BAAA3F
RGBrgb(186, 170, 63)
HSLhsl(52, 49%, 49%)
HSVhsv(52, 66%, 73%)
CMYKcmyk(0%, 8.6%, 66.1%, 27.1%)
CIE-LABlab(69.15, -6.85, 55.19)
CIE-LCHlch(69.15, 55.62, 97.08°)
OKLaboklab(73.17% -0.0237 0.1247)
OKLCHoklch(73.17% 0.127 100.7)
XYZxyz(35.5231, 39.5490, 10.4642)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA3F #3F4FBA
analogous
#BA6D3F #BAAA3F #8DBA3F
triadic
#BAAA3F #3FBAAA #AA3FBA
tetradic
#BAAA3F #3FBA6D #3F4FBA #BA3F8D
square
#BAAA3F #3FBA6D #3F4FBA #BA3F8D
split-complementary
#BAAA3F #3F8DBA #6D3FBA
monochromatic
#5F5620 #8C8030 #BAAA3F #CCC06A #DCD397

Accessibility & contrast

On white

2.36
#BAAA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#BAAA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA3F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA3F#FFFFFF#000000##000000
##BAAA3F1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A531
Deuteranopia (green-blind)
#BEAC45
Tritanopia (blue-blind)
#C89E94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa3f;
/* rgb */ color: rgb(186, 170, 63);
/* oklch */ color: oklch(73.2% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#d2c379',
    500: '#baaa3f',
    950: '#000000',
  },
}
SCSS
$custom: #baaa3f;
$custom-light: #d2c379;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa3f",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 52.195,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73169,
    "c": 0.12691,
    "h": 100.7
  },
  "luminance": 0.39547
}

Semantic roles & 50–950 ramp

primary
#BAAA3F
secondary
#8D95C8
accent
#61D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAAA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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