#BAB756#BAB756

#BAB756 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.2% C 0.120 H 107.3°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#BAB756
RGBrgb(186, 183, 86)
HSLhsl(58, 42%, 53%)
HSVhsv(58, 54%, 73%)
CMYKcmyk(0%, 1.6%, 53.8%, 27.1%)
CIE-LABlab(72.88, -11.98, 48.95)
CIE-LCHlch(72.88, 50.40, 103.75°)
OKLaboklab(76.2% -0.0357 0.1144)
OKLCHoklch(76.2% 0.12 107.3)
XYZxyz(38.8640, 44.9790, 15.4369)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB756 #5659BA
analogous
#BA8556 #BAB756 #8BBA56
triadic
#BAB756 #56BAB7 #B756BA
tetradic
#BAB756 #56BA85 #5659BA #BA568B
square
#BAB756 #56BA85 #5659BA #BA568B
split-complementary
#BAB756 #568BBA #8556BA
monochromatic
#6A682B #96933D #BAB756 #CCCA81 #DDDCAD

Accessibility & contrast

On white

2.10
#BAB756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#BAB756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB756
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB756#FFFFFF#000000##000000
##BAB7561.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B14C
Deuteranopia (green-blind)
#C6B55B
Tritanopia (blue-blind)
#C6ADA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab756;
/* rgb */ color: rgb(186, 183, 86);
/* oklch */ color: oklch(76.2% 0.120 107.3);
Tailwind
colors: {
  custom: {
    50: '#d1cc89',
    500: '#bab756',
    950: '#000000',
  },
}
SCSS
$custom: #bab756;
$custom-light: #d1cc89;
$custom-dark: #000000;
JSON
{
  "hex": "#bab756",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 86
  },
  "hsl": {
    "h": 58.2,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76204,
    "c": 0.11987,
    "h": 107.3
  },
  "luminance": 0.44978
}

Semantic roles & 50–950 ramp

primary
#BAB756
secondary
#A0A2CB
accent
#5AD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BAB756

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

Preview Lab → · Contrast checker → · Palette generator →

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