#BAA643#BAA643

#BAA643 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.4% C 0.120 H 97.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#BAA643
RGBrgb(186, 166, 67)
HSLhsl(50, 47%, 50%)
HSVhsv(50, 64%, 73%)
CMYKcmyk(0%, 10.8%, 64%, 27.1%)
CIE-LABlab(68.11, -4.49, 52.35)
CIE-LCHlch(68.11, 52.54, 94.90°)
OKLaboklab(72.36% -0.0164 0.1193)
OKLCHoklch(72.36% 0.12 97.8)
XYZxyz(34.9005, 38.1184, 10.8283)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA643 #4357BA
analogous
#BA6B43 #BAA643 #93BA43
triadic
#BAA643 #43BAA6 #A643BA
tetradic
#BAA643 #43BA6B #4357BA #BA4393
square
#BAA643 #43BA6B #4357BA #BA4393
split-complementary
#BAA643 #4393BA #6B43BA
monochromatic
#605623 #8D7E33 #BAA643 #CBBC6F #DBD19C

Accessibility & contrast

On white

2.44
#BAA643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#BAA643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA643
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA643#FFFFFF#000000##000000
##BAA6431.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A237
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#C89A91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa643;
/* rgb */ color: rgb(186, 166, 67);
/* oklch */ color: oklch(72.4% 0.120 97.8);
Tailwind
colors: {
  custom: {
    50: '#d2c07c',
    500: '#baa643',
    950: '#000000',
  },
}
SCSS
$custom: #baa643;
$custom-light: #d2c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#baa643",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 49.916,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72356,
    "c": 0.12041,
    "h": 97.8
  },
  "luminance": 0.38117
}

Semantic roles & 50–950 ramp

primary
#BAA643
secondary
#919AC8
accent
#68D751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA643

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

Preview Lab → · Contrast checker → · Palette generator →

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