#BAB43B#BAB43B

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

Color values

HEX#BAB43B
RGBrgb(186, 180, 59)
HSLhsl(57, 52%, 48%)
HSVhsv(57, 68%, 73%)
CMYKcmyk(0%, 3.2%, 68.3%, 27.1%)
CIE-LABlab(71.82, -12.29, 59.57)
CIE-LCHlch(71.82, 60.83, 101.65°)
OKLaboklab(75.29% -0.0395 0.1333)
OKLCHoklch(75.29% 0.139 106.5)
XYZxyz(37.3618, 43.3987, 10.5455)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB43B #3B41BA
analogous
#BA743B #BAB43B #81BA3B
triadic
#BAB43B #3BBAB4 #B43BBA
tetradic
#BAB43B #3BBA74 #3B41BA #BA3B81
square
#BAB43B #3BBA74 #3B41BA #BA3B81
split-complementary
#BAB43B #3B81BA #743BBA
monochromatic
#5D5A1E #8C872C #BAB43B #CEC964 #DDD993

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB43B#FFFFFF#000000##000000
##BAB43B1.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)
#C3AD29
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab43b;
/* rgb */ color: rgb(186, 180, 59);
/* oklch */ color: oklch(75.3% 0.139 106.5);
Tailwind
colors: {
  custom: {
    50: '#d2ca78',
    500: '#bab43b',
    950: '#000000',
  },
}
SCSS
$custom: #bab43b;
$custom-light: #d2ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#bab43b",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 57.165,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75289,
    "c": 0.139,
    "h": 106.5
  },
  "luminance": 0.43397
}

Semantic roles & 50–950 ramp

primary
#BAB43B
secondary
#898CC8
accent
#53DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB43B

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

Preview Lab → · Contrast checker → · Palette generator →

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