#BABA5D#BABA5D

#BABA5D is a light, moderate yellow. Relative luminance 0.463; OKLCH L 76.9% C 0.116 H 108.9°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#BABA5D
RGBrgb(186, 186, 93)
HSLhsl(60, 40%, 55%)
HSVhsv(60, 50%, 73%)
CMYKcmyk(0%, 0%, 50%, 27.1%)
CIE-LABlab(73.77, -12.92, 46.65)
CIE-LCHlch(73.77, 48.41, 105.48°)
OKLaboklab(76.94% -0.0376 0.1102)
OKLCHoklch(76.94% 0.116 108.9)
XYZxyz(39.7853, 46.3482, 17.2041)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA5D #5D5DBA
analogous
#BA8C5D #BABA5D #8CBA5D
triadic
#BABA5D #5DBABA #BA5DBA
tetradic
#BABA5D #5DBA8C #5D5DBA #BA5D8C
square
#BABA5D #5DBA8C #5D5DBA #BA5D8C
split-complementary
#BABA5D #5D8CBA #8C5DBA
monochromatic
#6E6E2F #999941 #BABA5D #CCCC88 #DFDFB3

Accessibility & contrast

On white

2.04
#BABA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#BABA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA5D
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA5D#FFFFFF#000000##000000
##BABA5D1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B354
Deuteranopia (green-blind)
#C8B762
Tritanopia (blue-blind)
#C5B0A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba5d;
/* rgb */ color: rgb(186, 186, 93);
/* oklch */ color: oklch(76.9% 0.116 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1ce8d',
    500: '#baba5d',
    950: '#000000',
  },
}
SCSS
$custom: #baba5d;
$custom-light: #d1ce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#baba5d",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7694,
    "c": 0.11639,
    "h": 108.9
  },
  "luminance": 0.46347
}

Semantic roles & 50–950 ramp

primary
#BABA5D
secondary
#A6A6CD
accent
#58D058
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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