#BAA042#BAA042

#BAA042 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.117 H 93.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#BAA042
RGBrgb(186, 160, 66)
HSLhsl(47, 48%, 49%)
HSVhsv(47, 65%, 73%)
CMYKcmyk(0%, 14%, 64.5%, 27.1%)
CIE-LABlab(66.50, -1.35, 51.07)
CIE-LCHlch(66.50, 51.08, 91.52°)
OKLaboklab(71.08% -0.0075 0.1164)
OKLCHoklch(71.08% 0.117 93.7)
XYZxyz(33.8055, 35.9758, 10.3166)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA042 #425CBA
analogous
#BA6442 #BAA042 #98BA42
triadic
#BAA042 #42BAA0 #A042BA
tetradic
#BAA042 #42BA64 #425CBA #BA4298
square
#BAA042 #42BA64 #425CBA #BA4298
split-complementary
#BAA042 #4298BA #6442BA
monochromatic
#605222 #8D7932 #BAA042 #CBB76E #DBCD9B

Accessibility & contrast

On white

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

On black

8.19
#BAA042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA042
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA042#FFFFFF#000000##000000
##BAA0421.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#C8948C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa042;
/* rgb */ color: rgb(186, 160, 66);
/* oklch */ color: oklch(71.1% 0.117 93.7);
Tailwind
colors: {
  custom: {
    50: '#d2bb7a',
    500: '#baa042',
    950: '#000000',
  },
}
SCSS
$custom: #baa042;
$custom-light: #d2bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#baa042",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 47,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71082,
    "c": 0.11664,
    "h": 93.7
  },
  "luminance": 0.35974
}

Semantic roles & 50–950 ramp

primary
#BAA042
secondary
#909CC8
accent
#6ED751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #BAA042

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

Preview Lab → · Contrast checker → · Palette generator →

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