#BAB13F#BAB13F

#BAB13F is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.7% C 0.133 H 104.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#BAB13F
RGBrgb(186, 177, 63)
HSLhsl(56, 49%, 49%)
HSVhsv(56, 66%, 73%)
CMYKcmyk(0%, 4.8%, 66.1%, 27.1%)
CIE-LABlab(71.04, -10.51, 57.16)
CIE-LCHlch(71.04, 58.12, 100.42°)
OKLaboklab(74.67% -0.034 0.1288)
OKLCHoklch(74.67% 0.133 104.8)
XYZxyz(36.8705, 42.2436, 10.9133)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB13F #3F48BA
analogous
#BA743F #BAB13F #86BA3F
triadic
#BAB13F #3FBAB1 #B13FBA
tetradic
#BAB13F #3FBA74 #3F48BA #BA3F86
square
#BAB13F #3FBA74 #3F48BA #BA3F86
split-complementary
#BAB13F #3F86BA #743FBA
monochromatic
#5F5A20 #8C8530 #BAB13F #CCC56A #DCD797

Accessibility & contrast

On white

2.22
#BAB13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#BAB13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB13F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB13F#FFFFFF#000000##000000
##BAB13F1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#C7A59A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab13f;
/* rgb */ color: rgb(186, 177, 63);
/* oklch */ color: oklch(74.7% 0.133 104.8);
Tailwind
colors: {
  custom: {
    50: '#d2c87a',
    500: '#bab13f',
    950: '#000000',
  },
}
SCSS
$custom: #bab13f;
$custom-light: #d2c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab13f",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 55.61,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74672,
    "c": 0.13326,
    "h": 104.8
  },
  "luminance": 0.42242
}

Semantic roles & 50–950 ramp

primary
#BAB13F
secondary
#8D91C8
accent
#59D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB13F

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

Preview Lab → · Contrast checker → · Palette generator →

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