#BAAB3B#BAAB3B

#BAAB3B is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.131 H 101.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#BAAB3B
RGBrgb(186, 171, 59)
HSLhsl(53, 52%, 48%)
HSVhsv(53, 68%, 73%)
CMYKcmyk(0%, 8.1%, 68.3%, 27.1%)
CIE-LABlab(69.39, -7.61, 57.10)
CIE-LCHlch(69.39, 57.61, 97.59°)
OKLaboklab(73.35% -0.0263 0.1281)
OKLCHoklch(73.35% 0.131 101.6)
XYZxyz(35.6035, 39.8822, 9.9595)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB3B #3B4ABA
analogous
#BA6B3B #BAAB3B #8ABA3B
triadic
#BAAB3B #3BBAAB #AB3BBA
tetradic
#BAAB3B #3BBA6B #3B4ABA #BA3B8A
square
#BAAB3B #3BBA6B #3B4ABA #BA3B8A
split-complementary
#BAAB3B #3B8ABA #6B3BBA
monochromatic
#5D561E #8C802C #BAAB3B #CEC164 #DDD493

Accessibility & contrast

On white

2.34
#BAAB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#BAAB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAB3B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAB3B#FFFFFF#000000##000000
##BAAB3B1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62B
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#C89F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baab3b;
/* rgb */ color: rgb(186, 171, 59);
/* oklch */ color: oklch(73.3% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#d2c377',
    500: '#baab3b',
    950: '#000000',
  },
}
SCSS
$custom: #baab3b;
$custom-light: #d2c377;
$custom-dark: #000000;
JSON
{
  "hex": "#baab3b",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 52.913,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73348,
    "c": 0.13071,
    "h": 101.6
  },
  "luminance": 0.39881
}

Semantic roles & 50–950 ramp

primary
#BAAB3B
secondary
#8990C8
accent
#5DDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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