#BAB839#BAB839

#BAB839 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.144 H 108.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#BAB839
RGBrgb(186, 184, 57)
HSLhsl(59, 53%, 48%)
HSVhsv(59, 69%, 73%)
CMYKcmyk(0%, 1.1%, 69.4%, 27.1%)
CIE-LABlab(72.90, -14.44, 61.42)
CIE-LCHlch(72.90, 63.09, 103.23°)
OKLaboklab(76.14% -0.0457 0.1368)
OKLCHoklch(76.14% 0.144 108.5)
XYZxyz(38.1301, 45.0167, 10.5506)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB839 #393BBA
analogous
#BA7839 #BAB839 #7BBA39
triadic
#BAB839 #39BAB8 #B839BA
tetradic
#BAB839 #39BA78 #393BBA #BA397B
square
#BAB839 #39BA78 #393BBA #BA397B
split-complementary
#BAB839 #397BBA #7839BA
monochromatic
#5C5B1C #8B8A2B #BAB839 #CFCD61 #DDDC90

Accessibility & contrast

On white

2.10
#BAB839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#BAB839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB839
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB839#FFFFFF#000000##000000
##BAB8391.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B125
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab839;
/* rgb */ color: rgb(186, 184, 57);
/* oklch */ color: oklch(76.1% 0.144 108.5);
Tailwind
colors: {
  custom: {
    50: '#d2cd77',
    500: '#bab839',
    950: '#000000',
  },
}
SCSS
$custom: #bab839;
$custom-light: #d2cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bab839",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 59.07,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76144,
    "c": 0.14427,
    "h": 108.5
  },
  "luminance": 0.45015
}

Semantic roles & 50–950 ramp

primary
#BAB839
secondary
#8788C8
accent
#4EDC4B
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB839

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

Preview Lab → · Contrast checker → · Palette generator →

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