#BAB637#BAB637

#BAB637 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.144 H 107.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#BAB637
RGBrgb(186, 182, 55)
HSLhsl(58, 54%, 47%)
HSVhsv(58, 70%, 73%)
CMYKcmyk(0%, 2.2%, 70.4%, 27.1%)
CIE-LABlab(72.34, -13.52, 61.62)
CIE-LCHlch(72.34, 63.08, 102.38°)
OKLaboklab(75.69% -0.0434 0.1369)
OKLCHoklch(75.69% 0.144 107.6)
XYZxyz(37.6686, 44.1721, 10.1555)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB637 #373BBA
analogous
#BA7537 #BAB637 #7DBA37
triadic
#BAB637 #37BAB6 #B637BA
tetradic
#BAB637 #37BA75 #373BBA #BA377D
square
#BAB637 #37BA75 #373BBA #BA377D
split-complementary
#BAB637 #377DBA #7537BA
monochromatic
#5C5A1B #8B8829 #BAB637 #D0CC5F #DEDB8E

Accessibility & contrast

On white

2.14
#BAB637 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#BAB637 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB637
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB637#FFFFFF#000000##000000
##BAB6371.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF22
Deuteranopia (green-blind)
#C7B440
Tritanopia (blue-blind)
#C7AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab637;
/* rgb */ color: rgb(186, 182, 55);
/* oklch */ color: oklch(75.7% 0.144 107.6);
Tailwind
colors: {
  custom: {
    50: '#d2cb76',
    500: '#bab637',
    950: '#000000',
  },
}
SCSS
$custom: #bab637;
$custom-light: #d2cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#bab637",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 55
  },
  "hsl": {
    "h": 58.168,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75694,
    "c": 0.14359,
    "h": 107.6
  },
  "luminance": 0.44171
}

Semantic roles & 50–950 ramp

primary
#BAB637
secondary
#8587C8
accent
#4FDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB637

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

Preview Lab → · Contrast checker → · Palette generator →

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