#BAB44F#BAB44F

#BAB44F is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.123 H 105.8°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#BAB44F
RGBrgb(186, 180, 79)
HSLhsl(57, 44%, 52%)
HSVhsv(57, 58%, 73%)
CMYKcmyk(0%, 3.2%, 57.5%, 27.1%)
CIE-LABlab(71.99, -10.99, 51.20)
CIE-LCHlch(71.99, 52.37, 102.11°)
OKLaboklab(75.48% -0.0336 0.1185)
OKLCHoklch(75.48% 0.123 105.8)
XYZxyz(37.9834, 43.6473, 13.8196)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB44F #4F55BA
analogous
#BA7F4F #BAB44F #8ABA4F
triadic
#BAB44F #4FBAB4 #B44FBA
tetradic
#BAB44F #4FBA7F #4F55BA #BA4F8A
square
#BAB44F #4FBA7F #4F55BA #BA4F8A
split-complementary
#BAB44F #4F8ABA #7F4FBA
monochromatic
#666328 #928D39 #BAB44F #CBC77B #DCD9A7

Accessibility & contrast

On white

2.16
#BAB44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#BAB44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB44F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB44F#FFFFFF#000000##000000
##BAB44F1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE44
Deuteranopia (green-blind)
#C5B354
Tritanopia (blue-blind)
#C6A99E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab44f;
/* rgb */ color: rgb(186, 180, 79);
/* oklch */ color: oklch(75.5% 0.123 105.8);
Tailwind
colors: {
  custom: {
    50: '#d1ca84',
    500: '#bab44f',
    950: '#000000',
  },
}
SCSS
$custom: #bab44f;
$custom-light: #d1ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#bab44f",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 79
  },
  "hsl": {
    "h": 56.636,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75476,
    "c": 0.12314,
    "h": 105.8
  },
  "luminance": 0.43646
}

Semantic roles & 50–950 ramp

primary
#BAB44F
secondary
#9B9ECA
accent
#5CD354
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB44F

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

Preview Lab → · Contrast checker → · Palette generator →

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