#BAA13B#BAA13B

#BAA13B is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.123 H 95.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#BAA13B
RGBrgb(186, 161, 59)
HSLhsl(48, 52%, 48%)
HSVhsv(48, 68%, 73%)
CMYKcmyk(0%, 13.4%, 68.3%, 27.1%)
CIE-LABlab(66.71, -2.31, 54.35)
CIE-LCHlch(66.71, 54.40, 92.43°)
OKLaboklab(71.23% -0.0111 0.1222)
OKLCHoklch(71.23% 0.123 95.2)
XYZxyz(33.7856, 36.2464, 9.3535)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA13B #3B54BA
analogous
#BA613B #BAA13B #93BA3B
triadic
#BAA13B #3BBAA1 #A13BBA
tetradic
#BAA13B #3BBA61 #3B54BA #BA3B93
square
#BAA13B #3BBA61 #3B54BA #BA3B93
split-complementary
#BAA13B #3B93BA #613BBA
monochromatic
#5D511E #8C792C #BAA13B #CEB964 #DDCE93

Accessibility & contrast

On white

2.55
#BAA13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#BAA13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA13B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA13B#FFFFFF#000000##000000
##BAA13B1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2E
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#C9958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa13b;
/* rgb */ color: rgb(186, 161, 59);
/* oklch */ color: oklch(71.2% 0.123 95.2);
Tailwind
colors: {
  custom: {
    50: '#d2bc76',
    500: '#baa13b',
    950: '#000000',
  },
}
SCSS
$custom: #baa13b;
$custom-light: #d2bc76;
$custom-dark: #000000;
JSON
{
  "hex": "#baa13b",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 59
  },
  "hsl": {
    "h": 48.189,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71226,
    "c": 0.12275,
    "h": 95.2
  },
  "luminance": 0.36245
}

Semantic roles & 50–950 ramp

primary
#BAA13B
secondary
#8995C8
accent
#69DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA13B

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

Preview Lab → · Contrast checker → · Palette generator →

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