#BAB048#BAB048

#BAB048 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.125 H 103.8°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#BAB048
RGBrgb(186, 176, 72)
HSLhsl(55, 45%, 51%)
HSVhsv(55, 61%, 73%)
CMYKcmyk(0%, 5.4%, 61.3%, 27.1%)
CIE-LABlab(70.84, -9.42, 53.09)
CIE-LCHlch(70.84, 53.92, 100.06°)
OKLaboklab(74.54% -0.0299 0.1216)
OKLCHoklch(74.54% 0.125 103.8)
XYZxyz(36.9461, 41.9590, 12.2824)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB048 #4852BA
analogous
#BA7748 #BAB048 #8BBA48
triadic
#BAB048 #48BAB0 #B048BA
tetradic
#BAB048 #48BA77 #4852BA #BA488B
square
#BAB048 #48BA77 #4852BA #BA488B
split-complementary
#BAB048 #488BBA #7748BA
monochromatic
#625D25 #8F8736 #BAB048 #CBC374 #DCD6A1

Accessibility & contrast

On white

2.24
#BAB048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#BAB048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB048
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB048#FFFFFF#000000##000000
##BAB0481.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab048;
/* rgb */ color: rgb(186, 176, 72);
/* oklch */ color: oklch(74.5% 0.125 103.8);
Tailwind
colors: {
  custom: {
    50: '#d1c77f',
    500: '#bab048',
    950: '#000000',
  },
}
SCSS
$custom: #bab048;
$custom-light: #d1c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab048",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 54.737,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7454,
    "c": 0.12521,
    "h": 103.8
  },
  "luminance": 0.41958
}

Semantic roles & 50–950 ramp

primary
#BAB048
secondary
#969AC8
accent
#5ED553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB048

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

Preview Lab → · Contrast checker → · Palette generator →

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