#BAB130#BAB130

#BAB130 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.143 H 105.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#BAB130
RGBrgb(186, 177, 48)
HSLhsl(56, 59%, 46%)
HSVhsv(56, 74%, 73%)
CMYKcmyk(0%, 4.8%, 74.2%, 27.1%)
CIE-LABlab(70.94, -11.28, 62.78)
CIE-LCHlch(70.94, 63.78, 100.19°)
OKLaboklab(74.56% -0.0378 0.1381)
OKLCHoklch(74.56% 0.143 105.3)
XYZxyz(36.5069, 42.0982, 8.9985)
Luminance0.4210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB130 #3039BA
analogous
#BA6C30 #BAB130 #7EBA30
triadic
#BAB130 #30BAB1 #B130BA
tetradic
#BAB130 #30BA6C #3039BA #BA307E
square
#BAB130 #30BA6C #3039BA #BA307E
split-complementary
#BAB130 #307EBA #6C30BA
monochromatic
#595417 #898323 #BAB130 #D3CB54 #DFDA85

Accessibility & contrast

On white

2.23
#BAB130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#BAB130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB130
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB130#FFFFFF#000000##000000
##BAB1301.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#C8A598
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab130;
/* rgb */ color: rgb(186, 177, 48);
/* oklch */ color: oklch(74.6% 0.143 105.3);
Tailwind
colors: {
  custom: {
    50: '#d2c872',
    500: '#bab130',
    950: '#000000',
  },
}
SCSS
$custom: #bab130;
$custom-light: #d2c872;
$custom-dark: #000000;
JSON
{
  "hex": "#bab130",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 56.087,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74561,
    "c": 0.14315,
    "h": 105.3
  },
  "luminance": 0.42097
}

Semantic roles & 50–950 ramp

primary
#BAB130
secondary
#7D82C9
accent
#50E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BAB130

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

Preview Lab → · Contrast checker → · Palette generator →

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