#BAB241#BAB241

#BAB241 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.133 H 105.3°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#BAB241
RGBrgb(186, 178, 65)
HSLhsl(56, 48%, 49%)
HSVhsv(56, 65%, 73%)
CMYKcmyk(0%, 4.3%, 65.1%, 27.1%)
CIE-LABlab(71.33, -10.91, 56.63)
CIE-LCHlch(71.33, 57.67, 100.90°)
OKLaboklab(74.91% -0.0349 0.128)
OKLCHoklch(74.91% 0.133 105.3)
XYZxyz(37.1256, 42.6629, 11.2791)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB241 #4149BA
analogous
#BA7641 #BAB241 #86BA41
triadic
#BAB241 #41BAB2 #B241BA
tetradic
#BAB241 #41BA76 #4149BA #BA4186
square
#BAB241 #41BA76 #4149BA #BA4186
split-complementary
#BAB241 #4186BA #7641BA
monochromatic
#5F5B21 #8D8731 #BAB241 #CCC56C #DCD79A

Accessibility & contrast

On white

2.20
#BAB241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#BAB241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB241
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB241#FFFFFF#000000##000000
##BAB2411.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC32
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#C7A69B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab241;
/* rgb */ color: rgb(186, 178, 65);
/* oklch */ color: oklch(74.9% 0.133 105.3);
Tailwind
colors: {
  custom: {
    50: '#d2c87b',
    500: '#bab241',
    950: '#000000',
  },
}
SCSS
$custom: #bab241;
$custom-light: #d2c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#bab241",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 56.033,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74905,
    "c": 0.13272,
    "h": 105.3
  },
  "luminance": 0.42662
}

Semantic roles & 50–950 ramp

primary
#BAB241
secondary
#8F93C8
accent
#59D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB241

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

Preview Lab → · Contrast checker → · Palette generator →

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