#BAAA2C#BAAA2C

#BAAA2C is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.139 H 101.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BAAA2C
RGBrgb(186, 170, 44)
HSLhsl(53, 62%, 45%)
HSVhsv(53, 76%, 73%)
CMYKcmyk(0%, 8.6%, 76.3%, 27.1%)
CIE-LABlab(69.02, -7.81, 62.35)
CIE-LCHlch(69.02, 62.84, 97.14°)
OKLaboklab(73.03% -0.0284 0.1364)
OKLCHoklch(73.03% 0.139 101.7)
XYZxyz(35.0807, 39.3720, 8.1341)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA2C #2C3CBA
analogous
#BA632C #BAAA2C #83BA2C
triadic
#BAAA2C #2CBAAA #AA2CBA
tetradic
#BAAA2C #2CBA63 #2C3CBA #BA2C83
square
#BAAA2C #2CBA63 #2C3CBA #BA2C83
split-complementary
#BAAA2C #2C83BA #632CBA
monochromatic
#575015 #897D20 #BAAA2C #D5C64E #E1D680

Accessibility & contrast

On white

2.37
#BAAA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#BAAA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA2C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA2C#FFFFFF#000000##000000
##BAAA2C1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA510
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#C99D92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baaa2c;
/* rgb */ color: rgb(186, 170, 44);
/* oklch */ color: oklch(73.0% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#d3c26f',
    500: '#baaa2c',
    950: '#000000',
  },
}
SCSS
$custom: #baaa2c;
$custom-light: #d3c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa2c",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 53.239,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.13933,
    "h": 101.7
  },
  "luminance": 0.3937
}

Semantic roles & 50–950 ramp

primary
#BAAA2C
secondary
#7881CA
accent
#55E543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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