#BAB14D#BAB14D

#BAB14D is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.122 H 104.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#BAB14D
RGBrgb(186, 177, 77)
HSLhsl(55, 44%, 52%)
HSVhsv(55, 59%, 73%)
CMYKcmyk(0%, 4.8%, 58.6%, 27.1%)
CIE-LABlab(71.16, -9.58, 51.19)
CIE-LCHlch(71.16, 52.07, 100.60°)
OKLaboklab(74.81% -0.0298 0.1182)
OKLCHoklch(74.81% 0.122 104.2)
XYZxyz(37.3127, 42.4205, 13.2422)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB14D #4D56BA
analogous
#BA7B4D #BAB14D #8DBA4D
triadic
#BAB14D #4DBAB1 #B14DBA
tetradic
#BAB14D #4DBA7B #4D56BA #BA4D8D
square
#BAB14D #4DBA7B #4D56BA #BA4D8D
split-complementary
#BAB14D #4D8DBA #7B4DBA
monochromatic
#656027 #918A38 #BAB14D #CBC479 #DCD8A5

Accessibility & contrast

On white

2.21
#BAB14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#BAB14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB14D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB14D#FFFFFF#000000##000000
##BAB14D1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB42
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#C7A69B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab14d;
/* rgb */ color: rgb(186, 177, 77);
/* oklch */ color: oklch(74.8% 0.122 104.2);
Tailwind
colors: {
  custom: {
    50: '#d1c882',
    500: '#bab14d',
    950: '#000000',
  },
}
SCSS
$custom: #bab14d;
$custom-light: #d1c882;
$custom-dark: #000000;
JSON
{
  "hex": "#bab14d",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 77
  },
  "hsl": {
    "h": 55.046,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74807,
    "c": 0.12188,
    "h": 104.2
  },
  "luminance": 0.42419
}

Semantic roles & 50–950 ramp

primary
#BAB14D
secondary
#999DC9
accent
#5FD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB14D

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

Preview Lab → · Contrast checker → · Palette generator →

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