#BAAA3B#BAAA3B

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

Color values

HEX#BAAA3B
RGBrgb(186, 170, 59)
HSLhsl(52, 52%, 48%)
HSVhsv(52, 68%, 73%)
CMYKcmyk(0%, 8.6%, 68.3%, 27.1%)
CIE-LABlab(69.12, -7.09, 56.83)
CIE-LCHlch(69.12, 57.27, 97.11°)
OKLaboklab(73.13% -0.0248 0.1275)
OKLCHoklch(73.13% 0.13 101)
XYZxyz(35.4154, 39.5059, 9.8967)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA3B #3B4BBA
analogous
#BA6A3B #BAAA3B #8ABA3B
triadic
#BAAA3B #3BBAAA #AA3BBA
tetradic
#BAAA3B #3BBA6A #3B4BBA #BA3B8A
square
#BAAA3B #3BBA6A #3B4BBA #BA3B8A
split-complementary
#BAAA3B #3B8ABA #6A3BBA
monochromatic
#5D551E #8C802C #BAAA3B #CEC164 #DDD393

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAA3B#FFFFFF#000000##000000
##BAAA3B1.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)
#BAA52C
Deuteranopia (green-blind)
#BEAC42
Tritanopia (blue-blind)
#C89E93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa3b;
/* rgb */ color: rgb(186, 170, 59);
/* oklch */ color: oklch(73.1% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#d2c377',
    500: '#baaa3b',
    950: '#000000',
  },
}
SCSS
$custom: #baaa3b;
$custom-light: #d2c377;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa3b",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 52.441,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73134,
    "c": 0.12985,
    "h": 101
  },
  "luminance": 0.39504
}

Semantic roles & 50–950 ramp

primary
#BAAA3B
secondary
#8991C8
accent
#5FDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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