#BABB41#BABB41

#BABB41 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.9% C 0.142 H 109.8°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#BABB41
RGBrgb(186, 187, 65)
HSLhsl(60, 48%, 49%)
HSVhsv(60, 65%, 73%)
CMYKcmyk(0.5%, 0%, 65.2%, 26.7%)
CIE-LABlab(73.78, -15.52, 59.18)
CIE-LCHlch(73.78, 61.18, 104.69°)
OKLaboklab(76.86% -0.048 0.1334)
OKLCHoklch(76.86% 0.142 109.8)
XYZxyz(38.9754, 46.3625, 11.8957)
Luminance0.4636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB41 #4241BB
analogous
#BB7F41 #BABB41 #7DBB41
triadic
#BABB41 #41BABB #BB41BA
tetradic
#BABB41 #41BB7F #4241BB #BB417D
square
#BABB41 #41BB7F #4241BB #BB417D
split-complementary
#BABB41 #417DBB #7F41BB
monochromatic
#606021 #8D8E31 #BABB41 #CBCC6D #DBDC9A

Accessibility & contrast

On white

2.04
#BABB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#BABB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB41
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB41#FFFFFF#000000##000000
##BABB411.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B330
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#C7B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb41;
/* rgb */ color: rgb(186, 187, 65);
/* oklch */ color: oklch(76.9% 0.142 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf7c',
    500: '#babb41',
    950: '#000000',
  },
}
SCSS
$custom: #babb41;
$custom-light: #d2cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#babb41",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 65
  },
  "hsl": {
    "h": 60.492,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76862,
    "c": 0.14178,
    "h": 109.8
  },
  "luminance": 0.46361
}

Semantic roles & 50–950 ramp

primary
#BABB41
secondary
#9090C8
accent
#50D851
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB41

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

Preview Lab → · Contrast checker → · Palette generator →

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