#BAB462#BAB462

#BAB462 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 75.7% C 0.105 H 104.9°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#BAB462
RGBrgb(186, 180, 98)
HSLhsl(56, 39%, 56%)
HSVhsv(56, 47%, 73%)
CMYKcmyk(0%, 3.2%, 47.3%, 27.1%)
CIE-LABlab(72.20, -9.36, 42.32)
CIE-LCHlch(72.20, 43.34, 102.47°)
OKLaboklab(75.71% -0.0269 0.1011)
OKLCHoklch(75.71% 0.105 104.9)
XYZxyz(38.7765, 43.9646, 17.9963)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB462 #6268BA
analogous
#BA8862 #BAB462 #94BA62
triadic
#BAB462 #62BAB4 #B462BA
tetradic
#BAB462 #62BA88 #6268BA #BA6294
square
#BAB462 #62BA88 #6268BA #BA6294
split-complementary
#BAB462 #6294BA #8862BA
monochromatic
#706C31 #9B9544 #BAB462 #CDC88D #DFDDB7

Accessibility & contrast

On white

2.14
#BAB462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#BAB462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB462
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB462#FFFFFF#000000##000000
##BAB4621.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AF5B
Deuteranopia (green-blind)
#C3B366
Tritanopia (blue-blind)
#C5AAA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab462;
/* rgb */ color: rgb(186, 180, 98);
/* oklch */ color: oklch(75.7% 0.105 104.9);
Tailwind
colors: {
  custom: {
    50: '#d0ca90',
    500: '#bab462',
    950: '#000000',
  },
}
SCSS
$custom: #bab462;
$custom-light: #d0ca90;
$custom-dark: #000000;
JSON
{
  "hex": "#bab462",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 55.909,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75713,
    "c": 0.10458,
    "h": 104.9
  },
  "luminance": 0.43963
}

Semantic roles & 50–950 ramp

primary
#BAB462
secondary
#AAACCE
accent
#61CF59
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130D
muted
#83827D

Preview Lab

Preview with #BAB462

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

Preview Lab → · Contrast checker → · Palette generator →

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