#BAB144#BAB144

#BAB144 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.7% C 0.129 H 104.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#BAB144
RGBrgb(186, 177, 68)
HSLhsl(55, 46%, 50%)
HSVhsv(55, 63%, 73%)
CMYKcmyk(0%, 4.8%, 63.4%, 27.1%)
CIE-LABlab(71.08, -10.20, 55.10)
CIE-LCHlch(71.08, 56.03, 100.49°)
OKLaboklab(74.72% -0.0326 0.1253)
OKLCHoklch(74.72% 0.129 104.6)
XYZxyz(37.0166, 42.3021, 11.6830)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB144 #444DBA
analogous
#BA7644 #BAB144 #88BA44
triadic
#BAB144 #44BAB1 #B144BA
tetradic
#BAB144 #44BA76 #444DBA #BA4488
square
#BAB144 #44BA76 #444DBA #BA4488
split-complementary
#BAB144 #4488BA #7644BA
monochromatic
#605C23 #8D8634 #BAB144 #CBC470 #DBD69D

Accessibility & contrast

On white

2.22
#BAB144 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#BAB144 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB144
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB144#FFFFFF#000000##000000
##BAB1441.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB37
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#C7A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab144;
/* rgb */ color: rgb(186, 177, 68);
/* oklch */ color: oklch(74.7% 0.129 104.6);
Tailwind
colors: {
  custom: {
    50: '#d2c87d',
    500: '#bab144',
    950: '#000000',
  },
}
SCSS
$custom: #bab144;
$custom-light: #d2c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab144",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 68
  },
  "hsl": {
    "h": 55.424,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74717,
    "c": 0.12943,
    "h": 104.6
  },
  "luminance": 0.42301
}

Semantic roles & 50–950 ramp

primary
#BAB144
secondary
#9296C8
accent
#5CD652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB144

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

Preview Lab → · Contrast checker → · Palette generator →

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