#BAB439#BAB439

#BAB439 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.140 H 106.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#BAB439
RGBrgb(186, 180, 57)
HSLhsl(57, 53%, 48%)
HSVhsv(57, 69%, 73%)
CMYKcmyk(0%, 3.2%, 69.4%, 27.1%)
CIE-LABlab(71.81, -12.39, 60.34)
CIE-LCHlch(71.81, 61.60, 101.61°)
OKLaboklab(75.27% -0.04 0.1345)
OKLCHoklch(75.27% 0.14 106.6)
XYZxyz(37.3109, 43.3783, 10.2776)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB439 #393FBA
analogous
#BA7339 #BAB439 #80BA39
triadic
#BAB439 #39BAB4 #B439BA
tetradic
#BAB439 #39BA73 #393FBA #BA3980
square
#BAB439 #39BA73 #393FBA #BA3980
split-complementary
#BAB439 #3980BA #7339BA
monochromatic
#5C591C #8B872B #BAB439 #CFCA61 #DDDA90

Accessibility & contrast

On white

2.17
#BAB439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#BAB439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB439
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB439#FFFFFF#000000##000000
##BAB4391.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#C6B241
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab439;
/* rgb */ color: rgb(186, 180, 57);
/* oklch */ color: oklch(75.3% 0.140 106.6);
Tailwind
colors: {
  custom: {
    50: '#d2ca77',
    500: '#bab439',
    950: '#000000',
  },
}
SCSS
$custom: #bab439;
$custom-light: #d2ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#bab439",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 57
  },
  "hsl": {
    "h": 57.209,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75273,
    "c": 0.14035,
    "h": 106.6
  },
  "luminance": 0.43377
}

Semantic roles & 50–950 ramp

primary
#BAB439
secondary
#878AC8
accent
#52DC4B
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB439

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

Preview Lab → · Contrast checker → · Palette generator →

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