#BABD34#BABD34

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

Color values

HEX#BABD34
RGBrgb(186, 189, 52)
HSLhsl(61, 57%, 47%)
HSVhsv(61, 72%, 74%)
CMYKcmyk(1.6%, 0%, 72.5%, 25.9%)
CIE-LABlab(74.24, -17.22, 64.53)
CIE-LCHlch(74.24, 66.78, 104.94°)
OKLaboklab(77.21% -0.054 0.1425)
OKLCHoklch(77.21% 0.152 110.8)
XYZxyz(39.0685, 47.0833, 10.2781)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD34 #3734BD
analogous
#BD7C34 #BABD34 #75BD34
triadic
#BABD34 #34BABD #BD34BA
tetradic
#BABD34 #34BD7C #3734BD #BD3475
square
#BABD34 #34BD7C #3734BD #BD3475
split-complementary
#BABD34 #3475BD #7C34BD
monochromatic
#5C5D1A #8B8D27 #BABD34 #D0D25C #DEDF8C

Accessibility & contrast

On white

2.02
#BABD34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#BABD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD34
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD34#FFFFFF#000000##000000
##BABD341.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babd34;
/* rgb */ color: rgb(186, 189, 52);
/* oklch */ color: oklch(77.2% 0.152 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2d075',
    500: '#babd34',
    950: '#000000',
  },
}
SCSS
$custom: #babd34;
$custom-light: #d2d075;
$custom-dark: #000000;
JSON
{
  "hex": "#babd34",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 52
  },
  "hsl": {
    "h": 61.314,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77205,
    "c": 0.1524,
    "h": 110.8
  },
  "luminance": 0.47082
}

Semantic roles & 50–950 ramp

primary
#BABD34
secondary
#8583CA
accent
#48E04B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABD34

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

Preview Lab → · Contrast checker → · Palette generator →

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