#BABA5E#BABA5E

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

Color values

HEX#BABA5E
RGBrgb(186, 186, 94)
HSLhsl(60, 40%, 55%)
HSVhsv(60, 49%, 73%)
CMYKcmyk(0%, 0%, 49.5%, 27.1%)
CIE-LABlab(73.78, -12.83, 46.18)
CIE-LCHlch(73.78, 47.93, 105.53°)
OKLaboklab(76.95% -0.0372 0.1092)
OKLCHoklch(76.95% 0.115 108.8)
XYZxyz(39.8299, 46.3660, 17.4389)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA5E #5E5EBA
analogous
#BA8C5E #BABA5E #8CBA5E
triadic
#BABA5E #5EBABA #BA5EBA
tetradic
#BABA5E #5EBA8C #5E5EBA #BA5E8C
square
#BABA5E #5EBA8C #5E5EBA #BA5E8C
split-complementary
#BABA5E #5E8CBA #8C5EBA
monochromatic
#6E6E2F #999942 #BABA5E #CCCC89 #DFDFB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA5E#FFFFFF#000000##000000
##BABA5E1.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)
#C7B356
Deuteranopia (green-blind)
#C8B763
Tritanopia (blue-blind)
#C5B0A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba5e;
/* rgb */ color: rgb(186, 186, 94);
/* oklch */ color: oklch(77.0% 0.115 108.8);
Tailwind
colors: {
  custom: {
    50: '#d1ce8e',
    500: '#baba5e',
    950: '#000000',
  },
}
SCSS
$custom: #baba5e;
$custom-light: #d1ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#baba5e",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76953,
    "c": 0.1154,
    "h": 108.8
  },
  "luminance": 0.46365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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