#BAB33C#BAB33C

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

Color values

HEX#BAB33C
RGBrgb(186, 179, 60)
HSLhsl(57, 51%, 48%)
HSVhsv(57, 68%, 73%)
CMYKcmyk(0%, 3.8%, 67.7%, 27.1%)
CIE-LABlab(71.56, -11.72, 58.91)
CIE-LCHlch(71.56, 60.07, 101.25°)
OKLaboklab(75.08% -0.0378 0.132)
OKLCHoklch(75.08% 0.137 106)
XYZxyz(37.1868, 43.0069, 10.6164)
Luminance0.4301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB33C #3C43BA
analogous
#BA743C #BAB33C #82BA3C
triadic
#BAB33C #3CBAB3 #B33CBA
tetradic
#BAB33C #3CBA74 #3C43BA #BA3C82
square
#BAB33C #3CBA74 #3C43BA #BA3C82
split-complementary
#BAB33C #3C82BA #743CBA
monochromatic
#5D5A1E #8C862D #BAB33C #CEC866 #DCD894

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB33C#FFFFFF#000000##000000
##BAB33C1.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)
#C2AC2B
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab33c;
/* rgb */ color: rgb(186, 179, 60);
/* oklch */ color: oklch(75.1% 0.137 106.0);
Tailwind
colors: {
  custom: {
    50: '#d2c979',
    500: '#bab33c',
    950: '#000000',
  },
}
SCSS
$custom: #bab33c;
$custom-light: #d2c979;
$custom-dark: #000000;
JSON
{
  "hex": "#bab33c",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 56.667,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7508,
    "c": 0.13734,
    "h": 106
  },
  "luminance": 0.43006
}

Semantic roles & 50–950 ramp

primary
#BAB33C
secondary
#8A8DC8
accent
#55DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB33C

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

Preview Lab → · Contrast checker → · Palette generator →

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