#BABB34#BABB34

#BABB34 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.8% C 0.150 H 109.9°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#BABB34
RGBrgb(186, 187, 52)
HSLhsl(60, 56%, 47%)
HSVhsv(60, 72%, 73%)
CMYKcmyk(0.5%, 0%, 72.2%, 26.7%)
CIE-LABlab(73.69, -16.21, 64.00)
CIE-LCHlch(73.69, 66.02, 104.21°)
OKLaboklab(76.77% -0.0512 0.1414)
OKLCHoklch(76.77% 0.15 109.9)
XYZxyz(38.6412, 46.2288, 10.1357)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB34 #3534BB
analogous
#BB7834 #BABB34 #77BB34
triadic
#BABB34 #34BABB #BB34BA
tetradic
#BABB34 #34BB78 #3534BB #BB3477
square
#BABB34 #34BB78 #3534BB #BB3477
split-complementary
#BABB34 #3477BB #7834BB
monochromatic
#5B5B19 #8A8B27 #BABB34 #D0D15B #DEDF8B

Accessibility & contrast

On white

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

On black

10.25
#BABB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB34
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB34#FFFFFF#000000##000000
##BABB341.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babb34;
/* rgb */ color: rgb(186, 187, 52);
/* oklch */ color: oklch(76.8% 0.150 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2cf75',
    500: '#babb34',
    950: '#000000',
  },
}
SCSS
$custom: #babb34;
$custom-light: #d2cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#babb34",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 52
  },
  "hsl": {
    "h": 60.444,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76766,
    "c": 0.15038,
    "h": 109.9
  },
  "luminance": 0.46228
}

Semantic roles & 50–950 ramp

primary
#BABB34
secondary
#8282C9
accent
#48E049
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB34

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

Preview Lab → · Contrast checker → · Palette generator →

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