#BABB36#BABB36

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

Color values

HEX#BABB36
RGBrgb(186, 187, 54)
HSLhsl(60, 55%, 47%)
HSVhsv(60, 71%, 73%)
CMYKcmyk(0.5%, 0%, 71.1%, 26.7%)
CIE-LABlab(73.71, -16.11, 63.31)
CIE-LCHlch(73.71, 65.32, 104.28°)
OKLaboklab(76.78% -0.0507 0.1403)
OKLCHoklch(76.78% 0.149 109.9)
XYZxyz(38.6872, 46.2472, 10.3780)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB36 #3736BB
analogous
#BB7936 #BABB36 #78BB36
triadic
#BABB36 #36BABB #BB36BA
tetradic
#BABB36 #36BB79 #3736BB #BB3678
square
#BABB36 #36BB79 #3736BB #BB3678
split-complementary
#BABB36 #3678BB #7936BB
monochromatic
#5C5C1B #8B8C28 #BABB36 #D0D05E #DEDE8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB36#FFFFFF#000000##000000
##BABB361.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)
#CAB31E
Deuteranopia (green-blind)
#CBB740
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb36;
/* rgb */ color: rgb(186, 187, 54);
/* oklch */ color: oklch(76.8% 0.149 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2cf76',
    500: '#babb36',
    950: '#000000',
  },
}
SCSS
$custom: #babb36;
$custom-light: #d2cf76;
$custom-dark: #000000;
JSON
{
  "hex": "#babb36",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 54
  },
  "hsl": {
    "h": 60.451,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76779,
    "c": 0.14917,
    "h": 109.9
  },
  "luminance": 0.46246
}

Semantic roles & 50–950 ramp

primary
#BABB36
secondary
#8584C9
accent
#49DF4A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB36

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

Preview Lab → · Contrast checker → · Palette generator →

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