#BAB147#BAB147

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

Color values

HEX#BAB147
RGBrgb(186, 177, 71)
HSLhsl(55, 45%, 50%)
HSVhsv(55, 62%, 73%)
CMYKcmyk(0%, 4.8%, 61.8%, 27.1%)
CIE-LABlab(71.10, -10.00, 53.82)
CIE-LCHlch(71.10, 54.74, 100.53°)
OKLaboklab(74.75% -0.0317 0.123)
OKLCHoklch(74.75% 0.127 104.5)
XYZxyz(37.1105, 42.3396, 12.1776)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB147 #4750BA
analogous
#BA7747 #BAB147 #8ABA47
triadic
#BAB147 #47BAB1 #B147BA
tetradic
#BAB147 #47BA77 #4750BA #BA478A
square
#BAB147 #47BA77 #4750BA #BA478A
split-complementary
#BAB147 #478ABA #7747BA
monochromatic
#625D25 #8E8735 #BAB147 #CBC474 #DBD7A0

Accessibility & contrast

On white

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

On black

9.47
#BAB147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB147
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB147#FFFFFF#000000##000000
##BAB1471.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab147;
/* rgb */ color: rgb(186, 177, 71);
/* oklch */ color: oklch(74.7% 0.127 104.5);
Tailwind
colors: {
  custom: {
    50: '#d2c87f',
    500: '#bab147',
    950: '#000000',
  },
}
SCSS
$custom: #bab147;
$custom-light: #d2c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab147",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 55.304,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74746,
    "c": 0.127,
    "h": 104.5
  },
  "luminance": 0.42338
}

Semantic roles & 50–950 ramp

primary
#BAB147
secondary
#9599C8
accent
#5DD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB147

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

Preview Lab → · Contrast checker → · Palette generator →

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