#BAA04B#BAA04B

#BAA04B is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.109 H 92.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BAA04B
RGBrgb(186, 160, 75)
HSLhsl(46, 45%, 51%)
HSVhsv(46, 60%, 73%)
CMYKcmyk(0%, 14%, 59.7%, 27.1%)
CIE-LABlab(66.59, -0.73, 46.97)
CIE-LCHlch(66.59, 46.98, 90.89°)
OKLaboklab(71.18% -0.0046 0.1089)
OKLCHoklch(71.18% 0.109 92.4)
XYZxyz(34.0920, 36.0904, 11.8257)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA04B #4B65BA
analogous
#BA684B #BAA04B #9CBA4B
triadic
#BAA04B #4BBAA0 #A04BBA
tetradic
#BAA04B #4BBA68 #4B65BA #BA4B9C
square
#BAA04B #4BBA68 #4B65BA #BA4B9C
split-complementary
#BAA04B #4B9CBA #684BBA
monochromatic
#645626 #907C37 #BAA04B #CBB777 #DCCFA3

Accessibility & contrast

On white

2.56
#BAA04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BAA04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA04B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA04B#FFFFFF#000000##000000
##BAA04B1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E42
Deuteranopia (green-blind)
#B6A54F
Tritanopia (blue-blind)
#C8958D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa04b;
/* rgb */ color: rgb(186, 160, 75);
/* oklch */ color: oklch(71.2% 0.109 92.4);
Tailwind
colors: {
  custom: {
    50: '#d1bb80',
    500: '#baa04b',
    950: '#000000',
  },
}
SCSS
$custom: #baa04b;
$custom-light: #d1bb80;
$custom-dark: #000000;
JSON
{
  "hex": "#baa04b",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 75
  },
  "hsl": {
    "h": 45.946,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.71179,
    "c": 0.109,
    "h": 92.4
  },
  "luminance": 0.36089
}

Semantic roles & 50–950 ramp

primary
#BAA04B
secondary
#98A3C9
accent
#72D454
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110A
muted
#83807C

Preview Lab

Preview with #BAA04B

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

Preview Lab → · Contrast checker → · Palette generator →

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