#BAB43A#BAB43A

#BAB43A is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.140 H 106.5°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BAB43A
RGBrgb(186, 180, 58)
HSLhsl(57, 52%, 48%)
HSVhsv(57, 69%, 73%)
CMYKcmyk(0%, 3.2%, 68.8%, 27.1%)
CIE-LABlab(71.82, -12.34, 59.96)
CIE-LCHlch(71.82, 61.21, 101.63°)
OKLaboklab(75.28% -0.0397 0.1339)
OKLCHoklch(75.28% 0.14 106.5)
XYZxyz(37.3361, 43.3884, 10.4103)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB43A #3A40BA
analogous
#BA743A #BAB43A #80BA3A
triadic
#BAB43A #3ABAB4 #B43ABA
tetradic
#BAB43A #3ABA74 #3A40BA #BA3A80
square
#BAB43A #3ABA74 #3A40BA #BA3A80
split-complementary
#BAB43A #3A80BA #743ABA
monochromatic
#5D5A1D #8B872B #BAB43A #CEC963 #DDD992

Accessibility & contrast

On white

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

On black

9.68
#BAB43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB43A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB43A#FFFFFF#000000##000000
##BAB43A1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab43a;
/* rgb */ color: rgb(186, 180, 58);
/* oklch */ color: oklch(75.3% 0.140 106.5);
Tailwind
colors: {
  custom: {
    50: '#d2ca78',
    500: '#bab43a',
    950: '#000000',
  },
}
SCSS
$custom: #bab43a;
$custom-light: #d2ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#bab43a",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 57.188,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75281,
    "c": 0.13968,
    "h": 106.5
  },
  "luminance": 0.43387
}

Semantic roles & 50–950 ramp

primary
#BAB43A
secondary
#888BC8
accent
#53DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB43A

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

Preview Lab → · Contrast checker → · Palette generator →

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