#BAB34A#BAB34A

#BAB34A is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.2% C 0.126 H 105.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BAB34A
RGBrgb(186, 179, 74)
HSLhsl(56, 45%, 51%)
HSVhsv(56, 60%, 73%)
CMYKcmyk(0%, 3.8%, 60.2%, 27.1%)
CIE-LABlab(71.67, -10.83, 53.11)
CIE-LCHlch(71.67, 54.20, 101.53°)
OKLaboklab(75.21% -0.0337 0.1219)
OKLCHoklch(75.21% 0.126 105.5)
XYZxyz(37.6071, 43.1750, 12.8298)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB34A #4A51BA
analogous
#BA7B4A #BAB34A #89BA4A
triadic
#BAB34A #4ABAB3 #B34ABA
tetradic
#BAB34A #4ABA7B #4A51BA #BA4A89
square
#BAB34A #4ABA7B #4A51BA #BA4A89
split-complementary
#BAB34A #4A89BA #7B4ABA
monochromatic
#646026 #908A37 #BAB34A #CBC676 #DCD8A3

Accessibility & contrast

On white

2.18
#BAB34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#BAB34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB34A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB34A#FFFFFF#000000##000000
##BAB34A1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3E
Deuteranopia (green-blind)
#C4B250
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab34a;
/* rgb */ color: rgb(186, 179, 74);
/* oklch */ color: oklch(75.2% 0.126 105.5);
Tailwind
colors: {
  custom: {
    50: '#d1c981',
    500: '#bab34a',
    950: '#000000',
  },
}
SCSS
$custom: #bab34a;
$custom-light: #d1c981;
$custom-dark: #000000;
JSON
{
  "hex": "#bab34a",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 56.25,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75207,
    "c": 0.12647,
    "h": 105.5
  },
  "luminance": 0.43174
}

Semantic roles & 50–950 ramp

primary
#BAB34A
secondary
#979AC9
accent
#5BD553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB34A

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

Preview Lab → · Contrast checker → · Palette generator →

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