#BAB74A#BAB74A

#BAB74A is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.1% C 0.131 H 107.7°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#BAB74A
RGBrgb(186, 183, 74)
HSLhsl(58, 45%, 51%)
HSVhsv(58, 60%, 73%)
CMYKcmyk(0%, 1.6%, 60.2%, 27.1%)
CIE-LABlab(72.76, -12.89, 54.30)
CIE-LCHlch(72.76, 55.81, 103.36°)
OKLaboklab(76.07% -0.0396 0.1244)
OKLCHoklch(76.07% 0.131 107.7)
XYZxyz(38.4204, 44.8016, 13.1010)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB74A #4A4DBA
analogous
#BA7F4A #BAB74A #85BA4A
triadic
#BAB74A #4ABAB7 #B74ABA
tetradic
#BAB74A #4ABA7F #4A4DBA #BA4A85
square
#BAB74A #4ABA7F #4A4DBA #BA4A85
split-complementary
#BAB74A #4A85BA #7F4ABA
monochromatic
#646226 #908E37 #BAB74A #CBC976 #DCDAA3

Accessibility & contrast

On white

2.11
#BAB74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#BAB74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB74A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB74A#FFFFFF#000000##000000
##BAB74A1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03D
Deuteranopia (green-blind)
#C7B450
Tritanopia (blue-blind)
#C6ACA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab74a;
/* rgb */ color: rgb(186, 183, 74);
/* oklch */ color: oklch(76.1% 0.131 107.7);
Tailwind
colors: {
  custom: {
    50: '#d1cc81',
    500: '#bab74a',
    950: '#000000',
  },
}
SCSS
$custom: #bab74a;
$custom-light: #d1cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#bab74a",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 58.393,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76073,
    "c": 0.13057,
    "h": 107.7
  },
  "luminance": 0.448
}

Semantic roles & 50–950 ramp

primary
#BAB74A
secondary
#9798C9
accent
#57D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB74A

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

Preview Lab → · Contrast checker → · Palette generator →

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