#BAB143#BAB143

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

Color values

HEX#BAB143
RGBrgb(186, 177, 67)
HSLhsl(55, 47%, 50%)
HSVhsv(55, 64%, 73%)
CMYKcmyk(0%, 4.8%, 64%, 27.1%)
CIE-LABlab(71.07, -10.27, 55.52)
CIE-LCHlch(71.07, 56.46, 100.48°)
OKLaboklab(74.71% -0.0329 0.126)
OKLCHoklch(74.71% 0.13 104.6)
XYZxyz(36.9863, 42.2900, 11.5236)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB143 #434CBA
analogous
#BA7543 #BAB143 #88BA43
triadic
#BAB143 #43BAB1 #B143BA
tetradic
#BAB143 #43BA75 #434CBA #BA4388
square
#BAB143 #43BA75 #434CBA #BA4388
split-complementary
#BAB143 #4388BA #7543BA
monochromatic
#605B23 #8D8633 #BAB143 #CBC46F #DBD79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB143#FFFFFF#000000##000000
##BAB1431.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)
#C0AB35
Deuteranopia (green-blind)
#C3B049
Tritanopia (blue-blind)
#C7A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab143;
/* rgb */ color: rgb(186, 177, 67);
/* oklch */ color: oklch(74.7% 0.130 104.6);
Tailwind
colors: {
  custom: {
    50: '#d2c87c',
    500: '#bab143',
    950: '#000000',
  },
}
SCSS
$custom: #bab143;
$custom-light: #d2c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#bab143",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 67
  },
  "hsl": {
    "h": 55.462,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74708,
    "c": 0.13021,
    "h": 104.6
  },
  "luminance": 0.42289
}

Semantic roles & 50–950 ramp

primary
#BAB143
secondary
#9195C8
accent
#5BD751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB143

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

Preview Lab → · Contrast checker → · Palette generator →

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