#BABA4E#BABA4E

#BABA4E is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.130 H 109.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#BABA4E
RGBrgb(186, 186, 78)
HSLhsl(60, 44%, 52%)
HSVhsv(60, 58%, 73%)
CMYKcmyk(0%, 0%, 58.1%, 27.1%)
CIE-LABlab(73.62, -14.14, 53.46)
CIE-LCHlch(73.62, 55.30, 104.82°)
OKLaboklab(76.77% -0.0427 0.1232)
OKLCHoklch(76.77% 0.13 109.1)
XYZxyz(39.1849, 46.1080, 14.0418)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA4E #4E4EBA
analogous
#BA844E #BABA4E #84BA4E
triadic
#BABA4E #4EBABA #BA4EBA
tetradic
#BABA4E #4EBA84 #4E4EBA #BA4E84
square
#BABA4E #4EBA84 #4E4EBA #BA4E84
split-complementary
#BABA4E #4E84BA #844EBA
monochromatic
#666628 #929239 #BABA4E #CBCB7A #DCDCA6

Accessibility & contrast

On white

2.05
#BABA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#BABA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA4E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA4E#FFFFFF#000000##000000
##BABA4E1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#C9B754
Tritanopia (blue-blind)
#C6AFA3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba4e;
/* rgb */ color: rgb(186, 186, 78);
/* oklch */ color: oklch(76.8% 0.130 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1ce84',
    500: '#baba4e',
    950: '#000000',
  },
}
SCSS
$custom: #baba4e;
$custom-light: #d1ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#baba4e",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76766,
    "c": 0.13036,
    "h": 109.1
  },
  "luminance": 0.46107
}

Semantic roles & 50–950 ramp

primary
#BABA4E
secondary
#9A9ACA
accent
#54D454
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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