#BAB44D#BAB44D

#BAB44D is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.125 H 105.9°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#BAB44D
RGBrgb(186, 180, 77)
HSLhsl(57, 44%, 52%)
HSVhsv(57, 59%, 73%)
CMYKcmyk(0%, 3.2%, 58.6%, 27.1%)
CIE-LABlab(71.97, -11.14, 52.09)
CIE-LCHlch(71.97, 53.27, 102.07°)
OKLaboklab(75.45% -0.0343 0.1201)
OKLCHoklch(75.45% 0.125 105.9)
XYZxyz(37.9117, 43.6187, 13.4419)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB44D #4D53BA
analogous
#BA7E4D #BAB44D #8ABA4D
triadic
#BAB44D #4DBAB4 #B44DBA
tetradic
#BAB44D #4DBA7E #4D53BA #BA4D8A
square
#BAB44D #4DBA7E #4D53BA #BA4D8A
split-complementary
#BAB44D #4D8ABA #7E4DBA
monochromatic
#656227 #918D38 #BAB44D #CBC779 #DCD9A5

Accessibility & contrast

On white

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

On black

9.72
#BAB44D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB44D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB44D#FFFFFF#000000##000000
##BAB44D1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE42
Deuteranopia (green-blind)
#C5B253
Tritanopia (blue-blind)
#C7A99E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab44d;
/* rgb */ color: rgb(186, 180, 77);
/* oklch */ color: oklch(75.5% 0.125 105.9);
Tailwind
colors: {
  custom: {
    50: '#d1ca83',
    500: '#bab44d',
    950: '#000000',
  },
}
SCSS
$custom: #bab44d;
$custom-light: #d1ca83;
$custom-dark: #000000;
JSON
{
  "hex": "#bab44d",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 77
  },
  "hsl": {
    "h": 56.697,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75454,
    "c": 0.1249,
    "h": 105.9
  },
  "luminance": 0.43617
}

Semantic roles & 50–950 ramp

primary
#BAB44D
secondary
#999CC9
accent
#5BD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB44D

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

Preview Lab → · Contrast checker → · Palette generator →

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