#BAB34D#BAB34D

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

Color values

HEX#BAB34D
RGBrgb(186, 179, 77)
HSLhsl(56, 44%, 52%)
HSVhsv(56, 59%, 73%)
CMYKcmyk(0%, 3.8%, 58.6%, 27.1%)
CIE-LABlab(71.70, -10.62, 51.79)
CIE-LCHlch(71.70, 52.87, 101.59°)
OKLaboklab(75.24% -0.0328 0.1195)
OKLCHoklch(75.24% 0.124 105.3)
XYZxyz(37.7106, 43.2164, 13.3749)
Luminance0.4321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB34D #4D54BA
analogous
#BA7D4D #BAB34D #8BBA4D
triadic
#BAB34D #4DBAB3 #B34DBA
tetradic
#BAB34D #4DBA7D #4D54BA #BA4D8B
square
#BAB34D #4DBA7D #4D54BA #BA4D8B
split-complementary
#BAB34D #4D8BBA #7D4DBA
monochromatic
#656127 #918C38 #BAB34D #CBC679 #DCD9A5

Accessibility & contrast

On white

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

On black

9.64
#BAB34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB34D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB34D#FFFFFF#000000##000000
##BAB34D1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD42
Deuteranopia (green-blind)
#C4B253
Tritanopia (blue-blind)
#C7A89D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab34d;
/* rgb */ color: rgb(186, 179, 77);
/* oklch */ color: oklch(75.2% 0.124 105.3);
Tailwind
colors: {
  custom: {
    50: '#d1c983',
    500: '#bab34d',
    950: '#000000',
  },
}
SCSS
$custom: #bab34d;
$custom-light: #d1c983;
$custom-dark: #000000;
JSON
{
  "hex": "#bab34d",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 56.147,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75238,
    "c": 0.12389,
    "h": 105.3
  },
  "luminance": 0.43215
}

Semantic roles & 50–950 ramp

primary
#BAB34D
secondary
#999DC9
accent
#5CD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB34D

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

Preview Lab → · Contrast checker → · Palette generator →

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