#BAB047#BAB047

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

Color values

HEX#BAB047
RGBrgb(186, 176, 71)
HSLhsl(55, 45%, 50%)
HSVhsv(55, 62%, 73%)
CMYKcmyk(0%, 5.4%, 61.8%, 27.1%)
CIE-LABlab(70.83, -9.48, 53.53)
CIE-LCHlch(70.83, 54.36, 100.05°)
OKLaboklab(74.53% -0.0302 0.1224)
OKLCHoklch(74.53% 0.126 103.9)
XYZxyz(36.9137, 41.9461, 12.1120)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB047 #4751BA
analogous
#BA7747 #BAB047 #8ABA47
triadic
#BAB047 #47BAB0 #B047BA
tetradic
#BAB047 #47BA77 #4751BA #BA478A
square
#BAB047 #47BA77 #4751BA #BA478A
split-complementary
#BAB047 #478ABA #7747BA
monochromatic
#625D25 #8E8735 #BAB047 #CBC374 #DBD6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB047#FFFFFF#000000##000000
##BAB0471.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)
#BFAA3B
Deuteranopia (green-blind)
#C2B04D
Tritanopia (blue-blind)
#C7A59A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab047;
/* rgb */ color: rgb(186, 176, 71);
/* oklch */ color: oklch(74.5% 0.126 103.9);
Tailwind
colors: {
  custom: {
    50: '#d2c77f',
    500: '#bab047',
    950: '#000000',
  },
}
SCSS
$custom: #bab047;
$custom-light: #d2c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab047",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 54.783,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7453,
    "c": 0.12604,
    "h": 103.9
  },
  "luminance": 0.41945
}

Semantic roles & 50–950 ramp

primary
#BAB047
secondary
#9599C8
accent
#5ED553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB047

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

Preview Lab → · Contrast checker → · Palette generator →

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