#BAA142#BAA142

#BAA142 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.3% C 0.117 H 94.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#BAA142
RGBrgb(186, 161, 66)
HSLhsl(48, 48%, 49%)
HSVhsv(48, 65%, 73%)
CMYKcmyk(0%, 13.4%, 64.5%, 27.1%)
CIE-LABlab(66.77, -1.89, 51.35)
CIE-LCHlch(66.77, 51.39, 92.11°)
OKLaboklab(71.29% -0.0091 0.117)
OKLCHoklch(71.29% 0.117 94.4)
XYZxyz(33.9795, 36.3239, 10.3746)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA142 #425BBA
analogous
#BA6542 #BAA142 #97BA42
triadic
#BAA142 #42BAA1 #A142BA
tetradic
#BAA142 #42BA65 #425BBA #BA4297
square
#BAA142 #42BA65 #425BBA #BA4297
split-complementary
#BAA142 #4297BA #6542BA
monochromatic
#605322 #8D7A32 #BAA142 #CBB86E #DBCE9B

Accessibility & contrast

On white

2.54
#BAA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#BAA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA142
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA142#FFFFFF#000000##000000
##BAA1421.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#C8958D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa142;
/* rgb */ color: rgb(186, 161, 66);
/* oklch */ color: oklch(71.3% 0.117 94.4);
Tailwind
colors: {
  custom: {
    50: '#d2bc7b',
    500: '#baa142',
    950: '#000000',
  },
}
SCSS
$custom: #baa142;
$custom-light: #d2bc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#baa142",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 47.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71292,
    "c": 0.11736,
    "h": 94.4
  },
  "luminance": 0.36322
}

Semantic roles & 50–950 ramp

primary
#BAA142
secondary
#909CC8
accent
#6DD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAA142

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

Preview Lab → · Contrast checker → · Palette generator →

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