#BAB33D#BAB33D

#BAB33D is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.137 H 105.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#BAB33D
RGBrgb(186, 179, 61)
HSLhsl(57, 51%, 48%)
HSVhsv(57, 67%, 73%)
CMYKcmyk(0%, 3.8%, 67.2%, 27.1%)
CIE-LABlab(71.57, -11.66, 58.52)
CIE-LCHlch(71.57, 59.67, 101.27°)
OKLaboklab(75.09% -0.0375 0.1314)
OKLCHoklch(75.09% 0.137 105.9)
XYZxyz(37.2135, 43.0175, 10.7569)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB33D #3D44BA
analogous
#BA743D #BAB33D #82BA3D
triadic
#BAB33D #3DBAB3 #B33DBA
tetradic
#BAB33D #3DBA74 #3D44BA #BA3D82
square
#BAB33D #3DBA74 #3D44BA #BA3D82
split-complementary
#BAB33D #3D82BA #743DBA
monochromatic
#5E5A1F #8C872E #BAB33D #CDC767 #DCD895

Accessibility & contrast

On white

2.19
#BAB33D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#BAB33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB33D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB33D#FFFFFF#000000##000000
##BAB33D1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2C
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab33d;
/* rgb */ color: rgb(186, 179, 61);
/* oklch */ color: oklch(75.1% 0.137 105.9);
Tailwind
colors: {
  custom: {
    50: '#d2c979',
    500: '#bab33d',
    950: '#000000',
  },
}
SCSS
$custom: #bab33d;
$custom-light: #d2c979;
$custom-dark: #000000;
JSON
{
  "hex": "#bab33d",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 61
  },
  "hsl": {
    "h": 56.64,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75088,
    "c": 0.13663,
    "h": 105.9
  },
  "luminance": 0.43016
}

Semantic roles & 50–950 ramp

primary
#BAB33D
secondary
#8B8EC8
accent
#56DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB33D

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

Preview Lab → · Contrast checker → · Palette generator →

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