#BABD3A#BABD3A

#BABD3A is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.149 H 110.7°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#BABD3A
RGBrgb(186, 189, 58)
HSLhsl(61, 53%, 48%)
HSVhsv(61, 69%, 74%)
CMYKcmyk(1.6%, 0%, 69.3%, 25.9%)
CIE-LABlab(74.28, -16.92, 62.41)
CIE-LCHlch(74.28, 64.66, 105.17°)
OKLaboklab(77.25% -0.0526 0.1391)
OKLCHoklch(77.25% 0.149 110.7)
XYZxyz(39.2123, 47.1408, 11.0357)
Luminance0.4714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD3A #3D3ABD
analogous
#BD7E3A #BABD3A #78BD3A
triadic
#BABD3A #3ABABD #BD3ABA
tetradic
#BABD3A #3ABD7E #3D3ABD #BD3A78
square
#BABD3A #3ABD7E #3D3ABD #BD3A78
split-complementary
#BABD3A #3A78BD #7E3ABD
monochromatic
#5E5F1D #8C8E2C #BABD3A #CDD065 #DCDE93

Accessibility & contrast

On white

2.01
#BABD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#BABD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD3A
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD3A#FFFFFF#000000##000000
##BABD3A1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB525
Deuteranopia (green-blind)
#CDB844
Tritanopia (blue-blind)
#C7B1A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babd3a;
/* rgb */ color: rgb(186, 189, 58);
/* oklch */ color: oklch(77.2% 0.149 110.7);
Tailwind
colors: {
  custom: {
    50: '#d2d078',
    500: '#babd3a',
    950: '#000000',
  },
}
SCSS
$custom: #babd3a;
$custom-light: #d2d078;
$custom-dark: #000000;
JSON
{
  "hex": "#babd3a",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 61.374,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77246,
    "c": 0.14868,
    "h": 110.7
  },
  "luminance": 0.4714
}

Semantic roles & 50–950 ramp

primary
#BABD3A
secondary
#8B8AC9
accent
#4BDC4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BABD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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