#BABA5F#BABA5F

#BABA5F is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.0% C 0.114 H 108.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#BABA5F
RGBrgb(186, 186, 95)
HSLhsl(60, 40%, 55%)
HSVhsv(60, 49%, 73%)
CMYKcmyk(0%, 0%, 48.9%, 27.1%)
CIE-LABlab(73.79, -12.74, 45.71)
CIE-LCHlch(73.79, 47.45, 105.57°)
OKLaboklab(76.97% -0.0369 0.1083)
OKLCHoklch(76.97% 0.114 108.8)
XYZxyz(39.8750, 46.3841, 17.6768)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA5F #5F5FBA
analogous
#BA8C5F #BABA5F #8CBA5F
triadic
#BABA5F #5FBABA #BA5FBA
tetradic
#BABA5F #5FBA8C #5F5FBA #BA5F8C
square
#BABA5F #5FBA8C #5F5FBA #BA5F8C
split-complementary
#BABA5F #5F8CBA #8C5FBA
monochromatic
#6F6F30 #9A9A42 #BABA5F #CCCC8A #DFDFB5

Accessibility & contrast

On white

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

On black

10.28
#BABA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA5F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA5F#FFFFFF#000000##000000
##BABA5F1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baba5f;
/* rgb */ color: rgb(186, 186, 95);
/* oklch */ color: oklch(77.0% 0.114 108.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce8f',
    500: '#baba5f',
    950: '#000000',
  },
}
SCSS
$custom: #baba5f;
$custom-light: #d0ce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#baba5f",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76966,
    "c": 0.11439,
    "h": 108.8
  },
  "luminance": 0.46383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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