#BAAA34#BAAA34

#BAAA34 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.135 H 101.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#BAAA34
RGBrgb(186, 170, 52)
HSLhsl(53, 56%, 47%)
HSVhsv(53, 72%, 73%)
CMYKcmyk(0%, 8.6%, 72%, 27.1%)
CIE-LABlab(69.07, -7.45, 59.53)
CIE-LCHlch(69.07, 60.00, 97.13°)
OKLaboklab(73.08% -0.0266 0.132)
OKLCHoklch(73.08% 0.135 101.4)
XYZxyz(35.2459, 39.4381, 9.0039)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA34 #3444BA
analogous
#BA6734 #BAAA34 #87BA34
triadic
#BAAA34 #34BAAA #AA34BA
tetradic
#BAAA34 #34BA67 #3444BA #BA3487
square
#BAAA34 #34BA67 #3444BA #BA3487
split-complementary
#BAAA34 #3487BA #6734BA
monochromatic
#5A5319 #8A7E27 #BAAA34 #D1C35A #DED48A

Accessibility & contrast

On white

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

On black

8.89
#BAAA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA34
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA34#FFFFFF#000000##000000
##BAAA341.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA521
Deuteranopia (green-blind)
#BFAB3C
Tritanopia (blue-blind)
#C89E93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa34;
/* rgb */ color: rgb(186, 170, 52);
/* oklch */ color: oklch(73.1% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#d2c273',
    500: '#baaa34',
    950: '#000000',
  },
}
SCSS
$custom: #baaa34;
$custom-light: #d2c273;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa34",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 52.836,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7308,
    "c": 0.1346,
    "h": 101.4
  },
  "luminance": 0.39436
}

Semantic roles & 50–950 ramp

primary
#BAAA34
secondary
#818AC8
accent
#5AE048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAA34

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

Preview Lab → · Contrast checker → · Palette generator →

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