#BAA641#BAA641

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

Color values

HEX#BAA641
RGBrgb(186, 166, 65)
HSLhsl(50, 48%, 49%)
HSVhsv(50, 65%, 73%)
CMYKcmyk(0%, 10.8%, 65.1%, 27.1%)
CIE-LABlab(68.09, -4.62, 53.22)
CIE-LCHlch(68.09, 53.42, 94.96°)
OKLaboklab(72.34% -0.017 0.1208)
OKLCHoklch(72.34% 0.122 98)
XYZxyz(34.8416, 38.0948, 10.5178)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA641 #4155BA
analogous
#BA6A41 #BAA641 #92BA41
triadic
#BAA641 #41BAA6 #A641BA
tetradic
#BAA641 #41BA6A #4155BA #BA4192
square
#BAA641 #41BA6A #4155BA #BA4192
split-complementary
#BAA641 #4192BA #6A41BA
monochromatic
#5F5521 #8D7E31 #BAA641 #CCBC6C #DCD19A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA641#FFFFFF#000000##000000
##BAA6411.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)
#B6A235
Deuteranopia (green-blind)
#BBA946
Tritanopia (blue-blind)
#C89A91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa641;
/* rgb */ color: rgb(186, 166, 65);
/* oklch */ color: oklch(72.3% 0.122 98.0);
Tailwind
colors: {
  custom: {
    50: '#d2c07a',
    500: '#baa641',
    950: '#000000',
  },
}
SCSS
$custom: #baa641;
$custom-light: #d2c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#baa641",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 50.083,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72336,
    "c": 0.12201,
    "h": 98
  },
  "luminance": 0.38093
}

Semantic roles & 50–950 ramp

primary
#BAA641
secondary
#8F99C8
accent
#66D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAA641

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

Preview Lab → · Contrast checker → · Palette generator →

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