#BAB13E#BAB13E

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

Color values

HEX#BAB13E
RGBrgb(186, 177, 62)
HSLhsl(56, 50%, 49%)
HSVhsv(56, 67%, 73%)
CMYKcmyk(0%, 4.8%, 66.7%, 27.1%)
CIE-LABlab(71.03, -10.57, 57.57)
CIE-LCHlch(71.03, 58.53, 100.40°)
OKLaboklab(74.66% -0.0343 0.1295)
OKLCHoklch(74.66% 0.134 104.8)
XYZxyz(36.8428, 42.2325, 10.7675)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB13E #3E47BA
analogous
#BA733E #BAB13E #85BA3E
triadic
#BAB13E #3EBAB1 #B13EBA
tetradic
#BAB13E #3EBA73 #3E47BA #BA3E85
square
#BAB13E #3EBA73 #3E47BA #BA3E85
split-complementary
#BAB13E #3E85BA #733EBA
monochromatic
#5E5A1F #8C852F #BAB13E #CDC668 #DCD796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB13E#FFFFFF#000000##000000
##BAB13E1.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)
#C0AB2E
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C7A59A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab13e;
/* rgb */ color: rgb(186, 177, 62);
/* oklch */ color: oklch(74.7% 0.134 104.8);
Tailwind
colors: {
  custom: {
    50: '#d2c879',
    500: '#bab13e',
    950: '#000000',
  },
}
SCSS
$custom: #bab13e;
$custom-light: #d2c879;
$custom-dark: #000000;
JSON
{
  "hex": "#bab13e",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 55.645,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74664,
    "c": 0.134,
    "h": 104.8
  },
  "luminance": 0.42231
}

Semantic roles & 50–950 ramp

primary
#BAB13E
secondary
#8C90C8
accent
#58DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB13E

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

Preview Lab → · Contrast checker → · Palette generator →

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