#BAB04C#BAB04C

#BAB04C is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.122 H 103.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BAB04C
RGBrgb(186, 176, 76)
HSLhsl(55, 44%, 51%)
HSVhsv(55, 59%, 73%)
CMYKcmyk(0%, 5.4%, 59.1%, 27.1%)
CIE-LABlab(70.88, -9.13, 51.33)
CIE-LCHlch(70.88, 52.14, 100.09°)
OKLaboklab(74.58% -0.0287 0.1184)
OKLCHoklch(74.58% 0.122 103.6)
XYZxyz(37.0808, 42.0129, 12.9921)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB04C #4C56BA
analogous
#BA794C #BAB04C #8DBA4C
triadic
#BAB04C #4CBAB0 #B04CBA
tetradic
#BAB04C #4CBA79 #4C56BA #BA4C8D
square
#BAB04C #4CBA79 #4C56BA #BA4C8D
split-complementary
#BAB04C #4C8DBA #794CBA
monochromatic
#655F27 #918938 #BAB04C #CBC378 #DCD7A4

Accessibility & contrast

On white

2.23
#BAB04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#BAB04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB04C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB04C#FFFFFF#000000##000000
##BAB04C1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB41
Deuteranopia (green-blind)
#C2B051
Tritanopia (blue-blind)
#C7A59A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab04c;
/* rgb */ color: rgb(186, 176, 76);
/* oklch */ color: oklch(74.6% 0.122 103.6);
Tailwind
colors: {
  custom: {
    50: '#d1c782',
    500: '#bab04c',
    950: '#000000',
  },
}
SCSS
$custom: #bab04c;
$custom-light: #d1c782;
$custom-dark: #000000;
JSON
{
  "hex": "#bab04c",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 76
  },
  "hsl": {
    "h": 54.545,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74582,
    "c": 0.12178,
    "h": 103.6
  },
  "luminance": 0.42012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB04C

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

Preview Lab → · Contrast checker → · Palette generator →

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