#BAAA3C#BAAA3C

#BAAA3C is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.129 H 100.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BAAA3C
RGBrgb(186, 170, 60)
HSLhsl(52, 51%, 48%)
HSVhsv(52, 68%, 73%)
CMYKcmyk(0%, 8.6%, 67.7%, 27.1%)
CIE-LABlab(69.12, -7.03, 56.43)
CIE-LCHlch(69.12, 56.86, 97.10°)
OKLaboklab(73.14% -0.0245 0.1268)
OKLCHoklch(73.14% 0.129 100.9)
XYZxyz(35.4416, 39.5163, 10.0347)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA3C #3C4CBA
analogous
#BA6B3C #BAAA3C #8BBA3C
triadic
#BAAA3C #3CBAAA #AA3CBA
tetradic
#BAAA3C #3CBA6B #3C4CBA #BA3C8B
square
#BAAA3C #3CBA6B #3C4CBA #BA3C8B
split-complementary
#BAAA3C #3C8BBA #6B3CBA
monochromatic
#5D551E #8C802D #BAAA3C #CEC066 #DCD394

Accessibility & contrast

On white

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

On black

8.90
#BAAA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA3C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA3C#FFFFFF#000000##000000
##BAAA3C1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baaa3c;
/* rgb */ color: rgb(186, 170, 60);
/* oklch */ color: oklch(73.1% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#d2c378',
    500: '#baaa3c',
    950: '#000000',
  },
}
SCSS
$custom: #baaa3c;
$custom-light: #d2c378;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa3c",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 60
  },
  "hsl": {
    "h": 52.381,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73143,
    "c": 0.12914,
    "h": 100.9
  },
  "luminance": 0.39515
}

Semantic roles & 50–950 ramp

primary
#BAAA3C
secondary
#8A92C8
accent
#5FDB4D
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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