#BAA942#BAA942

#BAA942 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.124 H 99.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BAA942
RGBrgb(186, 169, 66)
HSLhsl(52, 48%, 49%)
HSVhsv(52, 65%, 73%)
CMYKcmyk(0%, 9.1%, 64.5%, 27.1%)
CIE-LABlab(68.90, -6.14, 53.65)
CIE-LCHlch(68.90, 54.00, 96.53°)
OKLaboklab(72.98% -0.0213 0.1219)
OKLCHoklch(72.98% 0.124 99.9)
XYZxyz(35.4225, 39.2099, 10.8556)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA942 #4253BA
analogous
#BA6D42 #BAA942 #8FBA42
triadic
#BAA942 #42BAA9 #A942BA
tetradic
#BAA942 #42BA6D #4253BA #BA428F
square
#BAA942 #42BA6D #4253BA #BA428F
split-complementary
#BAA942 #428FBA #6D42BA
monochromatic
#605722 #8D8032 #BAA942 #CBBE6E #DBD29B

Accessibility & contrast

On white

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

On black

8.84
#BAA942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA942
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA942#FFFFFF#000000##000000
##BAA9421.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A436
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#C89D93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa942;
/* rgb */ color: rgb(186, 169, 66);
/* oklch */ color: oklch(73.0% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#d2c27b',
    500: '#baa942',
    950: '#000000',
  },
}
SCSS
$custom: #baa942;
$custom-light: #d2c27b;
$custom-dark: #000000;
JSON
{
  "hex": "#baa942",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 66
  },
  "hsl": {
    "h": 51.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72983,
    "c": 0.12371,
    "h": 99.9
  },
  "luminance": 0.39208
}

Semantic roles & 50–950 ramp

primary
#BAA942
secondary
#9098C8
accent
#64D751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA942

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

Preview Lab → · Contrast checker → · Palette generator →

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