#BAB635#BAB635

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

Color values

HEX#BAB635
RGBrgb(186, 182, 53)
HSLhsl(58, 56%, 47%)
HSVhsv(58, 72%, 73%)
CMYKcmyk(0%, 2.2%, 71.5%, 27.1%)
CIE-LABlab(72.33, -13.62, 62.34)
CIE-LCHlch(72.33, 63.81, 102.33°)
OKLaboklab(75.68% -0.0438 0.1381)
OKLCHoklch(75.68% 0.145 107.6)
XYZxyz(37.6217, 44.1533, 9.9082)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB635 #3539BA
analogous
#BA7335 #BAB635 #7CBA35
triadic
#BAB635 #35BAB6 #B635BA
tetradic
#BAB635 #35BA73 #3539BA #BA357C
square
#BAB635 #35BA73 #3539BA #BA357C
split-complementary
#BAB635 #357CBA #7335BA
monochromatic
#5B591A #8A8727 #BAB635 #D0CD5C #DEDC8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB635#FFFFFF#000000##000000
##BAB6351.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)
#C5AF1E
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C7AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab635;
/* rgb */ color: rgb(186, 182, 53);
/* oklch */ color: oklch(75.7% 0.145 107.6);
Tailwind
colors: {
  custom: {
    50: '#d2cb75',
    500: '#bab635',
    950: '#000000',
  },
}
SCSS
$custom: #bab635;
$custom-light: #d2cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#bab635",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 53
  },
  "hsl": {
    "h": 58.195,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7568,
    "c": 0.14485,
    "h": 107.6
  },
  "luminance": 0.44152
}

Semantic roles & 50–950 ramp

primary
#BAB635
secondary
#8285C8
accent
#4DDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB635

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

Preview Lab → · Contrast checker → · Palette generator →

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