#BAAB3C#BAAB3C

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

Color values

HEX#BAAB3C
RGBrgb(186, 171, 60)
HSLhsl(53, 51%, 48%)
HSVhsv(53, 68%, 73%)
CMYKcmyk(0%, 8.1%, 67.7%, 27.1%)
CIE-LABlab(69.39, -7.55, 56.70)
CIE-LCHlch(69.39, 57.20, 97.59°)
OKLaboklab(73.36% -0.026 0.1274)
OKLCHoklch(73.36% 0.13 101.5)
XYZxyz(35.6297, 39.8927, 10.0974)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAB3C #3C4BBA
analogous
#BA6C3C #BAAB3C #8ABA3C
triadic
#BAAB3C #3CBAAB #AB3CBA
tetradic
#BAAB3C #3CBA6C #3C4BBA #BA3C8A
square
#BAAB3C #3CBA6C #3C4BBA #BA3C8A
split-complementary
#BAAB3C #3C8ABA #6C3CBA
monochromatic
#5D561E #8C802D #BAAB3C #CEC166 #DCD494

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAB3C#FFFFFF#000000##000000
##BAAB3C1.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)
#BBA62D
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#C89F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baab3c;
/* rgb */ color: rgb(186, 171, 60);
/* oklch */ color: oklch(73.4% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#d2c378',
    500: '#baab3c',
    950: '#000000',
  },
}
SCSS
$custom: #baab3c;
$custom-light: #d2c378;
$custom-dark: #000000;
JSON
{
  "hex": "#baab3c",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 52.857,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73357,
    "c": 0.12999,
    "h": 101.5
  },
  "luminance": 0.39891
}

Semantic roles & 50–950 ramp

primary
#BAAB3C
secondary
#8A91C8
accent
#5EDB4D
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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