#BAB647#BAB647

#BAB647 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.132 H 107.2°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#BAB647
RGBrgb(186, 182, 71)
HSLhsl(58, 45%, 50%)
HSVhsv(58, 62%, 73%)
CMYKcmyk(0%, 2.2%, 61.8%, 27.1%)
CIE-LABlab(72.46, -12.59, 55.29)
CIE-LCHlch(72.46, 56.70, 102.83°)
OKLaboklab(75.83% -0.039 0.1261)
OKLCHoklch(75.83% 0.132 107.2)
XYZxyz(38.1162, 44.3511, 12.5128)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB647 #474BBA
analogous
#BA7C47 #BAB647 #84BA47
triadic
#BAB647 #47BAB6 #B647BA
tetradic
#BAB647 #47BA7C #474BBA #BA4784
square
#BAB647 #47BA7C #474BBA #BA4784
split-complementary
#BAB647 #4784BA #7C47BA
monochromatic
#626025 #8E8B35 #BAB647 #CBC874 #DBD9A0

Accessibility & contrast

On white

2.13
#BAB647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#BAB647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB647
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB647#FFFFFF#000000##000000
##BAB6471.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3A
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#C7AB9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab647;
/* rgb */ color: rgb(186, 182, 71);
/* oklch */ color: oklch(75.8% 0.132 107.2);
Tailwind
colors: {
  custom: {
    50: '#d2cb7f',
    500: '#bab647',
    950: '#000000',
  },
}
SCSS
$custom: #bab647;
$custom-light: #d2cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab647",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 71
  },
  "hsl": {
    "h": 57.913,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75827,
    "c": 0.132,
    "h": 107.2
  },
  "luminance": 0.4435
}

Semantic roles & 50–950 ramp

primary
#BAB647
secondary
#9597C8
accent
#57D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB647

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

Preview Lab → · Contrast checker → · Palette generator →

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