#BAA342#BAA342

#BAA342 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.119 H 95.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#BAA342
RGBrgb(186, 163, 66)
HSLhsl(49, 48%, 49%)
HSVhsv(49, 65%, 73%)
CMYKcmyk(0%, 12.4%, 64.5%, 27.1%)
CIE-LABlab(67.30, -2.96, 51.93)
CIE-LCHlch(67.30, 52.01, 93.26°)
OKLaboklab(71.71% -0.0122 0.1182)
OKLCHoklch(71.71% 0.119 95.9)
XYZxyz(34.3318, 37.0285, 10.4921)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA342 #4259BA
analogous
#BA6742 #BAA342 #95BA42
triadic
#BAA342 #42BAA3 #A342BA
tetradic
#BAA342 #42BA67 #4259BA #BA4295
square
#BAA342 #42BA67 #4259BA #BA4295
split-complementary
#BAA342 #4295BA #6742BA
monochromatic
#605422 #8D7B32 #BAA342 #CBB96E #DBCF9B

Accessibility & contrast

On white

2.50
#BAA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#BAA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA342
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA342#FFFFFF#000000##000000
##BAA3421.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#C8978E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #baa342;
/* rgb */ color: rgb(186, 163, 66);
/* oklch */ color: oklch(71.7% 0.119 95.9);
Tailwind
colors: {
  custom: {
    50: '#d2be7b',
    500: '#baa342',
    950: '#000000',
  },
}
SCSS
$custom: #baa342;
$custom-light: #d2be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#baa342",
  "rgb": {
    "r": 186,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 48.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.11885,
    "h": 95.9
  },
  "luminance": 0.37027
}

Semantic roles & 50–950 ramp

primary
#BAA342
secondary
#909BC8
accent
#6AD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA342

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

Preview Lab → · Contrast checker → · Palette generator →

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