#BABA4F#BABA4F

#BABA4F is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.129 H 109.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#BABA4F
RGBrgb(186, 186, 79)
HSLhsl(60, 44%, 52%)
HSVhsv(60, 58%, 73%)
CMYKcmyk(0%, 0%, 57.5%, 27.1%)
CIE-LABlab(73.63, -14.07, 53.03)
CIE-LCHlch(73.63, 54.86, 104.86°)
OKLaboklab(76.78% -0.0424 0.1224)
OKLCHoklch(76.78% 0.129 109.1)
XYZxyz(39.2210, 46.1225, 14.2321)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA4F #4F4FBA
analogous
#BA854F #BABA4F #85BA4F
triadic
#BABA4F #4FBABA #BA4FBA
tetradic
#BABA4F #4FBA85 #4F4FBA #BA4F85
square
#BABA4F #4FBA85 #4F4FBA #BA4F85
split-complementary
#BABA4F #4F85BA #854FBA
monochromatic
#666628 #929239 #BABA4F #CBCB7B #DCDCA7

Accessibility & contrast

On white

2.05
#BABA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#BABA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA4F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA4F#FFFFFF#000000##000000
##BABA4F1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B343
Deuteranopia (green-blind)
#C9B755
Tritanopia (blue-blind)
#C6AFA3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba4f;
/* rgb */ color: rgb(186, 186, 79);
/* oklch */ color: oklch(76.8% 0.129 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1ce84',
    500: '#baba4f',
    950: '#000000',
  },
}
SCSS
$custom: #baba4f;
$custom-light: #d1ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#baba4f",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76776,
    "c": 0.12949,
    "h": 109.1
  },
  "luminance": 0.46121
}

Semantic roles & 50–950 ramp

primary
#BABA4F
secondary
#9B9BCA
accent
#54D354
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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