#BAB443#BAB443

#BAB443 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.133 H 106.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#BAB443
RGBrgb(186, 180, 67)
HSLhsl(57, 47%, 50%)
HSVhsv(57, 64%, 73%)
CMYKcmyk(0%, 3.2%, 64%, 27.1%)
CIE-LABlab(71.89, -11.82, 56.38)
CIE-LCHlch(71.89, 57.60, 101.84°)
OKLaboklab(75.36% -0.0373 0.1278)
OKLCHoklch(75.36% 0.133 106.3)
XYZxyz(37.5854, 43.4881, 11.7233)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB443 #4349BA
analogous
#BA7943 #BAB443 #85BA43
triadic
#BAB443 #43BAB4 #B443BA
tetradic
#BAB443 #43BA79 #4349BA #BA4385
square
#BAB443 #43BA79 #4349BA #BA4385
split-complementary
#BAB443 #4385BA #7943BA
monochromatic
#605D23 #8D8833 #BAB443 #CBC76F #DBD89C

Accessibility & contrast

On white

2.17
#BAB443 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#BAB443 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB443
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB443#FFFFFF#000000##000000
##BAB4431.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE35
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#C7A99D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab443;
/* rgb */ color: rgb(186, 180, 67);
/* oklch */ color: oklch(75.4% 0.133 106.3);
Tailwind
colors: {
  custom: {
    50: '#d2ca7d',
    500: '#bab443',
    950: '#000000',
  },
}
SCSS
$custom: #bab443;
$custom-light: #d2ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab443",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 67
  },
  "hsl": {
    "h": 56.975,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75356,
    "c": 0.13314,
    "h": 106.3
  },
  "luminance": 0.43487
}

Semantic roles & 50–950 ramp

primary
#BAB443
secondary
#9194C8
accent
#58D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB443

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

Preview Lab → · Contrast checker → · Palette generator →

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