#BAA12C#BAA12C

#BAA12C is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.132 H 96.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BAA12C
RGBrgb(186, 161, 44)
HSLhsl(49, 62%, 45%)
HSVhsv(49, 76%, 73%)
CMYKcmyk(0%, 13.4%, 76.3%, 27.1%)
CIE-LABlab(66.61, -3.04, 60.11)
CIE-LCHlch(66.61, 60.19, 92.90°)
OKLaboklab(71.11% -0.0149 0.1316)
OKLCHoklch(71.11% 0.132 96.5)
XYZxyz(33.4510, 36.1125, 7.5909)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA12C #2C45BA
analogous
#BA5A2C #BAA12C #8CBA2C
triadic
#BAA12C #2CBAA1 #A12CBA
tetradic
#BAA12C #2CBA5A #2C45BA #BA2C8C
square
#BAA12C #2CBA5A #2C45BA #BA2C8C
split-complementary
#BAA12C #2C8CBA #5A2CBA
monochromatic
#574B15 #897620 #BAA12C #D5BD4E #E1D080

Accessibility & contrast

On white

2.55
#BAA12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BAA12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA12C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA12C#FFFFFF#000000##000000
##BAA12C1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D15
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#C9948B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa12c;
/* rgb */ color: rgb(186, 161, 44);
/* oklch */ color: oklch(71.1% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#d3bc6e',
    500: '#baa12c',
    950: '#000000',
  },
}
SCSS
$custom: #baa12c;
$custom-light: #d3bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#baa12c",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 49.437,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71113,
    "c": 0.13247,
    "h": 96.5
  },
  "luminance": 0.36111
}

Semantic roles & 50–950 ramp

primary
#BAA12C
secondary
#7887CA
accent
#5FE543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BAA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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