#BABB3A#BABB3A

#BABB3A is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.147 H 109.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#BABB3A
RGBrgb(186, 187, 58)
HSLhsl(60, 53%, 48%)
HSVhsv(60, 69%, 73%)
CMYKcmyk(0.5%, 0%, 69%, 26.7%)
CIE-LABlab(73.73, -15.91, 61.86)
CIE-LCHlch(73.73, 63.88, 104.42°)
OKLaboklab(76.81% -0.0498 0.1379)
OKLCHoklch(76.81% 0.147 109.8)
XYZxyz(38.7851, 46.2863, 10.8932)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB3A #3B3ABB
analogous
#BB7B3A #BABB3A #79BB3A
triadic
#BABB3A #3ABABB #BB3ABA
tetradic
#BABB3A #3ABB7B #3B3ABB #BB3A79
square
#BABB3A #3ABB7B #3B3ABB #BB3A79
split-complementary
#BABB3A #3A79BB #7B3ABB
monochromatic
#5D5E1D #8C8C2C #BABB3A #CECF63 #DDDD92

Accessibility & contrast

On white

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

On black

10.26
#BABB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB3A
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB3A#FFFFFF#000000##000000
##BABB3A1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB325
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb3a;
/* rgb */ color: rgb(186, 187, 58);
/* oklch */ color: oklch(76.8% 0.147 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf78',
    500: '#babb3a',
    950: '#000000',
  },
}
SCSS
$custom: #babb3a;
$custom-light: #d2cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#babb3a",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 60.465,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76807,
    "c": 0.14663,
    "h": 109.8
  },
  "luminance": 0.46285
}

Semantic roles & 50–950 ramp

primary
#BABB3A
secondary
#8988C8
accent
#4CDC4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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