#BAA134#BAA134

#BAA134 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.128 H 95.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#BAA134
RGBrgb(186, 161, 52)
HSLhsl(49, 56%, 47%)
HSVhsv(49, 72%, 73%)
CMYKcmyk(0%, 13.4%, 72%, 27.1%)
CIE-LABlab(66.66, -2.68, 57.17)
CIE-LCHlch(66.66, 57.23, 92.69°)
OKLaboklab(71.17% -0.013 0.1269)
OKLCHoklch(71.17% 0.128 95.9)
XYZxyz(33.6161, 36.1786, 8.4607)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA134 #344DBA
analogous
#BA5E34 #BAA134 #90BA34
triadic
#BAA134 #34BAA1 #A134BA
tetradic
#BAA134 #34BA5E #344DBA #BA3490
square
#BAA134 #34BA5E #344DBA #BA3490
split-complementary
#BAA134 #3490BA #5E34BA
monochromatic
#5A4E19 #8A7827 #BAA134 #D1BB5A #DECF8A

Accessibility & contrast

On white

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

On black

8.24
#BAA134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA134
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA134#FFFFFF#000000##000000
##BAA1341.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baa134;
/* rgb */ color: rgb(186, 161, 52);
/* oklch */ color: oklch(71.2% 0.128 95.9);
Tailwind
colors: {
  custom: {
    50: '#d2bc72',
    500: '#baa134',
    950: '#000000',
  },
}
SCSS
$custom: #baa134;
$custom-light: #d2bc72;
$custom-dark: #000000;
JSON
{
  "hex": "#baa134",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 48.806,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71169,
    "c": 0.1276,
    "h": 95.9
  },
  "luminance": 0.36177
}

Semantic roles & 50–950 ramp

primary
#BAA134
secondary
#818FC8
accent
#64E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BAA134

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

Preview Lab → · Contrast checker → · Palette generator →

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