#BAA147#BAA147

#BAA147 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.113 H 93.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BAA147
RGBrgb(186, 161, 71)
HSLhsl(47, 45%, 50%)
HSVhsv(47, 62%, 73%)
CMYKcmyk(0%, 13.4%, 61.8%, 27.1%)
CIE-LABlab(66.81, -1.55, 49.11)
CIE-LCHlch(66.81, 49.14, 91.81°)
OKLaboklab(71.34% -0.0075 0.113)
OKLCHoklch(71.34% 0.113 93.8)
XYZxyz(34.1334, 36.3855, 11.1852)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA147 #4760BA
analogous
#BA6847 #BAA147 #99BA47
triadic
#BAA147 #47BAA1 #A147BA
tetradic
#BAA147 #47BA68 #4760BA #BA4799
square
#BAA147 #47BA68 #4760BA #BA4799
split-complementary
#BAA147 #4799BA #6847BA
monochromatic
#625525 #8E7B35 #BAA147 #CBB874 #DBCEA0

Accessibility & contrast

On white

2.54
#BAA147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#BAA147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA147
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA147#FFFFFF#000000##000000
##BAA1471.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3D
Deuteranopia (green-blind)
#B7A64B
Tritanopia (blue-blind)
#C8958D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa147;
/* rgb */ color: rgb(186, 161, 71);
/* oklch */ color: oklch(71.3% 0.113 93.8);
Tailwind
colors: {
  custom: {
    50: '#d2bc7e',
    500: '#baa147',
    950: '#000000',
  },
}
SCSS
$custom: #baa147;
$custom-light: #d2bc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#baa147",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 46.957,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71344,
    "c": 0.11322,
    "h": 93.8
  },
  "luminance": 0.36384
}

Semantic roles & 50–950 ramp

primary
#BAA147
secondary
#95A0C8
accent
#6FD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA147

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

Preview Lab → · Contrast checker → · Palette generator →

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