#BAA442#BAA442

#BAA442 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.120 H 96.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#BAA442
RGBrgb(186, 164, 66)
HSLhsl(49, 48%, 49%)
HSVhsv(49, 65%, 73%)
CMYKcmyk(0%, 11.8%, 64.5%, 27.1%)
CIE-LABlab(67.56, -3.49, 52.21)
CIE-LCHlch(67.56, 52.33, 93.83°)
OKLaboklab(71.92% -0.0137 0.1188)
OKLCHoklch(71.92% 0.12 96.6)
XYZxyz(34.5101, 37.3850, 10.5515)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA442 #4258BA
analogous
#BA6842 #BAA442 #94BA42
triadic
#BAA442 #42BAA4 #A442BA
tetradic
#BAA442 #42BA68 #4258BA #BA4294
square
#BAA442 #42BA68 #4258BA #BA4294
split-complementary
#BAA442 #4294BA #6842BA
monochromatic
#605422 #8D7C32 #BAA442 #CBBA6E #DBD09B

Accessibility & contrast

On white

2.48
#BAA442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#BAA442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA442
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA442#FFFFFF#000000##000000
##BAA4421.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A037
Deuteranopia (green-blind)
#B9A847
Tritanopia (blue-blind)
#C8988F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa442;
/* rgb */ color: rgb(186, 164, 66);
/* oklch */ color: oklch(71.9% 0.120 96.6);
Tailwind
colors: {
  custom: {
    50: '#d2be7b',
    500: '#baa442',
    950: '#000000',
  },
}
SCSS
$custom: #baa442;
$custom-light: #d2be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#baa442",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 49,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71923,
    "c": 0.11963,
    "h": 96.6
  },
  "luminance": 0.37383
}

Semantic roles & 50–950 ramp

primary
#BAA442
secondary
#909AC8
accent
#69D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA442

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

Preview Lab → · Contrast checker → · Palette generator →

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