#BAB830#BAB830

#BAB830 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.1% C 0.150 H 108.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#BAB830
RGBrgb(186, 184, 48)
HSLhsl(59, 59%, 46%)
HSVhsv(59, 74%, 73%)
CMYKcmyk(0%, 1.1%, 74.2%, 27.1%)
CIE-LABlab(72.85, -14.87, 64.57)
CIE-LCHlch(72.85, 66.26, 102.97°)
OKLaboklab(76.08% -0.0478 0.1419)
OKLCHoklch(76.08% 0.15 108.6)
XYZxyz(37.9251, 44.9347, 9.4712)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB830 #3032BA
analogous
#BA7330 #BAB830 #77BA30
triadic
#BAB830 #30BAB8 #B830BA
tetradic
#BAB830 #30BA73 #3032BA #BA3077
square
#BAB830 #30BA73 #3032BA #BA3077
split-complementary
#BAB830 #3077BA #7330BA
monochromatic
#595817 #898823 #BAB830 #D3D154 #DFDE85

Accessibility & contrast

On white

2.10
#BAB830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#BAB830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB830
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB830#FFFFFF#000000##000000
##BAB8301.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#C8AC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab830;
/* rgb */ color: rgb(186, 184, 48);
/* oklch */ color: oklch(76.1% 0.150 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cd73',
    500: '#bab830',
    950: '#000000',
  },
}
SCSS
$custom: #bab830;
$custom-light: #d2cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#bab830",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 59.13,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76084,
    "c": 0.14972,
    "h": 108.6
  },
  "luminance": 0.44933
}

Semantic roles & 50–950 ramp

primary
#BAB830
secondary
#7D7EC9
accent
#48E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB830

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

Preview Lab → · Contrast checker → · Palette generator →

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