#BAB758#BAB758

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

Color values

HEX#BAB758
RGBrgb(186, 183, 88)
HSLhsl(58, 42%, 54%)
HSVhsv(58, 53%, 73%)
CMYKcmyk(0%, 1.6%, 52.7%, 27.1%)
CIE-LABlab(72.90, -11.81, 48.03)
CIE-LCHlch(72.90, 49.46, 103.82°)
OKLaboklab(76.23% -0.035 0.1127)
OKLCHoklch(76.23% 0.118 107.3)
XYZxyz(38.9457, 45.0117, 15.8672)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB758 #585BBA
analogous
#BA8658 #BAB758 #8CBA58
triadic
#BAB758 #58BAB7 #B758BA
tetradic
#BAB758 #58BA86 #585BBA #BA588C
square
#BAB758 #58BA86 #585BBA #BA588C
split-complementary
#BAB758 #588CBA #8658BA
monochromatic
#6B692C #97943E #BAB758 #CCCA83 #DEDCAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB758#FFFFFF#000000##000000
##BAB7581.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)
#C4B14F
Deuteranopia (green-blind)
#C6B55D
Tritanopia (blue-blind)
#C6ADA2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab758;
/* rgb */ color: rgb(186, 183, 88);
/* oklch */ color: oklch(76.2% 0.118 107.3);
Tailwind
colors: {
  custom: {
    50: '#d1cc8a',
    500: '#bab758',
    950: '#000000',
  },
}
SCSS
$custom: #bab758;
$custom-light: #d1cc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab758",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 58.163,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76228,
    "c": 0.11796,
    "h": 107.3
  },
  "luminance": 0.45011
}

Semantic roles & 50–950 ramp

primary
#BAB758
secondary
#A2A3CC
accent
#5AD156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BAB758

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

Preview Lab → · Contrast checker → · Palette generator →

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