#BAB658#BAB658

#BAB658 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.0% C 0.117 H 106.7°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#BAB658
RGBrgb(186, 182, 88)
HSLhsl(58, 42%, 54%)
HSVhsv(58, 53%, 73%)
CMYKcmyk(0%, 2.2%, 52.7%, 27.1%)
CIE-LABlab(72.63, -11.30, 47.71)
CIE-LCHlch(72.63, 49.03, 103.32°)
OKLaboklab(76.01% -0.0335 0.112)
OKLCHoklch(76.01% 0.117 106.7)
XYZxyz(38.7401, 44.6007, 15.7987)
Luminance0.4460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB658 #585CBA
analogous
#BA8558 #BAB658 #8DBA58
triadic
#BAB658 #58BAB6 #B658BA
tetradic
#BAB658 #58BA85 #585CBA #BA588D
square
#BAB658 #58BA85 #585CBA #BA588D
split-complementary
#BAB658 #588DBA #8558BA
monochromatic
#6B692C #97933E #BAB658 #CCC983 #DEDCAF

Accessibility & contrast

On white

2.12
#BAB658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#BAB658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB658
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB658#FFFFFF#000000##000000
##BAB6581.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#C5B45D
Tritanopia (blue-blind)
#C6ACA1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab658;
/* rgb */ color: rgb(186, 182, 88);
/* oklch */ color: oklch(76.0% 0.117 106.7);
Tailwind
colors: {
  custom: {
    50: '#d1cb8a',
    500: '#bab658',
    950: '#000000',
  },
}
SCSS
$custom: #bab658;
$custom-light: #d1cb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab658",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 88
  },
  "hsl": {
    "h": 57.551,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76012,
    "c": 0.11688,
    "h": 106.7
  },
  "luminance": 0.446
}

Semantic roles & 50–950 ramp

primary
#BAB658
secondary
#A2A4CC
accent
#5BD156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BAB658

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

Preview Lab → · Contrast checker → · Palette generator →

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