#BAA852#BAA852

#BAA852 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.109 H 97.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#BAA852
RGBrgb(186, 168, 82)
HSLhsl(50, 43%, 53%)
HSVhsv(50, 56%, 73%)
CMYKcmyk(0%, 9.7%, 55.9%, 27.1%)
CIE-LABlab(68.79, -4.47, 46.13)
CIE-LCHlch(68.79, 46.35, 95.53°)
OKLaboklab(72.95% -0.0146 0.1079)
OKLCHoklch(72.95% 0.109 97.7)
XYZxyz(35.7766, 39.0551, 13.6349)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA852 #5264BA
analogous
#BA7452 #BAA852 #98BA52
triadic
#BAA852 #52BAA8 #A852BA
tetradic
#BAA852 #52BA74 #5264BA #BA5298
square
#BAA852 #52BA74 #5264BA #BA5298
split-complementary
#BAA852 #5298BA #7452BA
monochromatic
#685D2A #94843B #BAA852 #CBBE7E #DDD4AA

Accessibility & contrast

On white

2.38
#BAA852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#BAA852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA852
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA852#FFFFFF#000000##000000
##BAA8521.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44A
Deuteranopia (green-blind)
#BBAB56
Tritanopia (blue-blind)
#C79D95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa852;
/* rgb */ color: rgb(186, 168, 82);
/* oklch */ color: oklch(72.9% 0.109 97.7);
Tailwind
colors: {
  custom: {
    50: '#d1c185',
    500: '#baa852',
    950: '#000000',
  },
}
SCSS
$custom: #baa852;
$custom-light: #d1c185;
$custom-dark: #000000;
JSON
{
  "hex": "#baa852",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 49.615,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72945,
    "c": 0.10889,
    "h": 97.7
  },
  "luminance": 0.39054
}

Semantic roles & 50–950 ramp

primary
#BAA852
secondary
#9DA5CA
accent
#6BD355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA852

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

Preview Lab → · Contrast checker → · Palette generator →

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