#BAB358#BAB358

#BAB358 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.114 H 104.8°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BAB358
RGBrgb(186, 179, 88)
HSLhsl(56, 42%, 54%)
HSVhsv(56, 53%, 73%)
CMYKcmyk(0%, 3.8%, 52.7%, 27.1%)
CIE-LABlab(71.82, -9.75, 46.76)
CIE-LCHlch(71.82, 47.77, 101.77°)
OKLaboklab(75.37% -0.0291 0.1099)
OKLCHoklch(75.37% 0.114 104.8)
XYZxyz(38.1323, 43.3851, 15.5961)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB358 #585FBA
analogous
#BA8258 #BAB358 #90BA58
triadic
#BAB358 #58BAB3 #B358BA
tetradic
#BAB358 #58BA82 #585FBA #BA5890
square
#BAB358 #58BA82 #585FBA #BA5890
split-complementary
#BAB358 #5890BA #8258BA
monochromatic
#6B672C #97903E #BAB358 #CCC783 #DEDAAF

Accessibility & contrast

On white

2.17
#BAB358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#BAB358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB358
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB358#FFFFFF#000000##000000
##BAB3581.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4F
Deuteranopia (green-blind)
#C3B25C
Tritanopia (blue-blind)
#C6A99E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab358;
/* rgb */ color: rgb(186, 179, 88);
/* oklch */ color: oklch(75.4% 0.114 104.8);
Tailwind
colors: {
  custom: {
    50: '#d1c98a',
    500: '#bab358',
    950: '#000000',
  },
}
SCSS
$custom: #bab358;
$custom-light: #d1c98a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab358",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 88
  },
  "hsl": {
    "h": 55.714,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75366,
    "c": 0.11369,
    "h": 104.8
  },
  "luminance": 0.43384
}

Semantic roles & 50–950 ramp

primary
#BAB358
secondary
#A2A5CC
accent
#5FD156
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BAB358

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

Preview Lab → · Contrast checker → · Palette generator →

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