#BAA052#BAA052

#BAA052 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.3% C 0.103 H 91.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#BAA052
RGBrgb(186, 160, 82)
HSLhsl(45, 43%, 53%)
HSVhsv(45, 56%, 73%)
CMYKcmyk(0%, 14%, 55.9%, 27.1%)
CIE-LABlab(66.67, -0.19, 43.65)
CIE-LCHlch(66.67, 43.65, 90.25°)
OKLaboklab(71.27% -0.0022 0.1025)
OKLCHoklch(71.27% 0.103 91.2)
XYZxyz(34.3449, 36.1916, 13.1576)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA052 #526CBA
analogous
#BA6C52 #BAA052 #A0BA52
triadic
#BAA052 #52BAA0 #A052BA
tetradic
#BAA052 #52BA6C #526CBA #BA52A0
square
#BAA052 #52BA6C #526CBA #BA52A0
split-complementary
#BAA052 #52A0BA #6C52BA
monochromatic
#68582A #947E3B #BAA052 #CBB87E #DDD0AA

Accessibility & contrast

On white

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

On black

8.24
#BAA052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA052
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA052#FFFFFF#000000##000000
##BAA0521.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4B
Deuteranopia (green-blind)
#B5A555
Tritanopia (blue-blind)
#C8958E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa052;
/* rgb */ color: rgb(186, 160, 82);
/* oklch */ color: oklch(71.3% 0.103 91.2);
Tailwind
colors: {
  custom: {
    50: '#d1bb85',
    500: '#baa052',
    950: '#000000',
  },
}
SCSS
$custom: #baa052;
$custom-light: #d1bb85;
$custom-dark: #000000;
JSON
{
  "hex": "#baa052",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 45,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71265,
    "c": 0.10255,
    "h": 91.2
  },
  "luminance": 0.3619
}

Semantic roles & 50–950 ramp

primary
#BAA052
secondary
#9DA9CA
accent
#74D355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110B
muted
#83807C

Preview Lab

Preview with #BAA052

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

Preview Lab → · Contrast checker → · Palette generator →

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