#BABA8D#BABA8D

#BABA8D is a light, moderate yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.061 H 107.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#BABA8D
RGBrgb(186, 186, 141)
HSLhsl(60, 25%, 64%)
HSVhsv(60, 24%, 73%)
CMYKcmyk(0%, 0%, 24.2%, 27.1%)
CIE-LABlab(74.50, -7.38, 22.90)
CIE-LCHlch(74.50, 24.06, 107.86°)
OKLaboklab(77.75% -0.0185 0.0579)
OKLCHoklch(77.75% 0.061 107.7)
XYZxyz(42.6163, 47.4806, 32.1138)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA8D #8D8DBA
analogous
#BAA48D #BABA8D #A4BA8D
triadic
#BABA8D #8DBABA #BA8DBA
tetradic
#BABA8D #8DBAA4 #8D8DBA #BA8DA4
square
#BABA8D #8DBAA4 #8D8DBA #BA8DA4
split-complementary
#BABA8D #8DA4BA #A48DBA
monochromatic
#7F7F4D #A3A367 #BABA8D #D1D1B3 #E8E8D9

Accessibility & contrast

On white

2.00
#BABA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#BABA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA8D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA8D#FFFFFF#000000##000000
##BABA8D1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B68A
Deuteranopia (green-blind)
#C2B88F
Tritanopia (blue-blind)
#C1B4AE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #baba8d;
/* rgb */ color: rgb(186, 186, 141);
/* oklch */ color: oklch(77.8% 0.061 107.7);
Tailwind
colors: {
  custom: {
    50: '#cfceae',
    500: '#baba8d',
    950: '#000000',
  },
}
SCSS
$custom: #baba8d;
$custom-light: #cfceae;
$custom-dark: #000000;
JSON
{
  "hex": "#baba8d",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 24.59,
    "l": 64.118
  },
  "oklch": {
    "l": 0.77752,
    "c": 0.0608,
    "h": 107.7
  },
  "luminance": 0.4748
}

Semantic roles & 50–950 ramp

primary
#BABA8D
secondary
#CACAD9
accent
#42A342
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BABA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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