#BAB844#BAB844

#BAB844 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.2% C 0.136 H 108.3°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#BAB844
RGBrgb(186, 184, 68)
HSLhsl(59, 46%, 50%)
HSVhsv(59, 63%, 73%)
CMYKcmyk(0%, 1.1%, 63.4%, 27.1%)
CIE-LABlab(72.98, -13.81, 57.12)
CIE-LCHlch(72.98, 58.76, 103.59°)
OKLaboklab(76.23% -0.0428 0.1295)
OKLCHoklch(76.23% 0.136 108.3)
XYZxyz(38.4348, 45.1386, 12.1557)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB844 #4446BA
analogous
#BA7D44 #BAB844 #81BA44
triadic
#BAB844 #44BAB8 #B844BA
tetradic
#BAB844 #44BA7D #4446BA #BA4481
square
#BAB844 #44BA7D #4446BA #BA4481
split-complementary
#BAB844 #4481BA #7D44BA
monochromatic
#605F23 #8D8C34 #BAB844 #CBC970 #DBDA9D

Accessibility & contrast

On white

2.09
#BAB844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#BAB844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB844
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB844#FFFFFF#000000##000000
##BAB8441.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B135
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#C7ADA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab844;
/* rgb */ color: rgb(186, 184, 68);
/* oklch */ color: oklch(76.2% 0.136 108.3);
Tailwind
colors: {
  custom: {
    50: '#d2cd7e',
    500: '#bab844',
    950: '#000000',
  },
}
SCSS
$custom: #bab844;
$custom-light: #d2cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bab844",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 68
  },
  "hsl": {
    "h": 58.983,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76234,
    "c": 0.13641,
    "h": 108.3
  },
  "luminance": 0.45137
}

Semantic roles & 50–950 ramp

primary
#BAB844
secondary
#9293C8
accent
#54D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB844

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

Preview Lab → · Contrast checker → · Palette generator →

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