#BAB445#BAB445

#BAB445 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.132 H 106.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#BAB445
RGBrgb(186, 180, 69)
HSLhsl(57, 46%, 50%)
HSVhsv(57, 63%, 73%)
CMYKcmyk(0%, 3.2%, 62.9%, 27.1%)
CIE-LABlab(71.90, -11.69, 55.55)
CIE-LCHlch(71.90, 56.76, 101.88°)
OKLaboklab(75.37% -0.0367 0.1264)
OKLCHoklch(75.37% 0.132 106.2)
XYZxyz(37.6464, 43.5125, 12.0448)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB445 #454BBA
analogous
#BA7945 #BAB445 #86BA45
triadic
#BAB445 #45BAB4 #B445BA
tetradic
#BAB445 #45BA79 #454BBA #BA4586
square
#BAB445 #45BA79 #454BBA #BA4586
split-complementary
#BAB445 #4586BA #7945BA
monochromatic
#615E24 #8D8934 #BAB445 #CBC672 #DBD89E

Accessibility & contrast

On white

2.16
#BAB445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#BAB445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB445
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB445#FFFFFF#000000##000000
##BAB4451.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#C7A99D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab445;
/* rgb */ color: rgb(186, 180, 69);
/* oklch */ color: oklch(75.4% 0.132 106.2);
Tailwind
colors: {
  custom: {
    50: '#d2ca7e',
    500: '#bab445',
    950: '#000000',
  },
}
SCSS
$custom: #bab445;
$custom-light: #d2ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bab445",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 69
  },
  "hsl": {
    "h": 56.923,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.75374,
    "c": 0.13158,
    "h": 106.2
  },
  "luminance": 0.43511
}

Semantic roles & 50–950 ramp

primary
#BAB445
secondary
#9396C8
accent
#59D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB445

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

Preview Lab → · Contrast checker → · Palette generator →

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