#BABB39#BABB39

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

Color values

HEX#BABB39
RGBrgb(186, 187, 57)
HSLhsl(60, 53%, 48%)
HSVhsv(60, 70%, 73%)
CMYKcmyk(0.5%, 0%, 69.5%, 26.7%)
CIE-LABlab(73.72, -15.96, 62.23)
CIE-LCHlch(73.72, 64.24, 104.39°)
OKLaboklab(76.8% -0.05 0.1385)
OKLCHoklch(76.8% 0.147 109.9)
XYZxyz(38.7599, 46.2763, 10.7606)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB39 #3A39BB
analogous
#BB7B39 #BABB39 #79BB39
triadic
#BABB39 #39BABB #BB39BA
tetradic
#BABB39 #39BB7B #3A39BB #BB3979
square
#BABB39 #39BB7B #3A39BB #BB3979
split-complementary
#BABB39 #3979BB #7B39BB
monochromatic
#5D5D1C #8B8C2B #BABB39 #CECF62 #DDDD91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB39#FFFFFF#000000##000000
##BABB391.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)
#CAB324
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb39;
/* rgb */ color: rgb(186, 187, 57);
/* oklch */ color: oklch(76.8% 0.147 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2cf78',
    500: '#babb39',
    950: '#000000',
  },
}
SCSS
$custom: #babb39;
$custom-light: #d2cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#babb39",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 60.462,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.768,
    "c": 0.14728,
    "h": 109.9
  },
  "luminance": 0.46275
}

Semantic roles & 50–950 ramp

primary
#BABB39
secondary
#8887C8
accent
#4BDD4C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB39

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

Preview Lab → · Contrast checker → · Palette generator →

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