#BAA843#BAA843

#BAA843 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.122 H 99.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#BAA843
RGBrgb(186, 168, 67)
HSLhsl(51, 47%, 50%)
HSVhsv(51, 64%, 73%)
CMYKcmyk(0%, 9.7%, 64%, 27.1%)
CIE-LABlab(68.64, -5.55, 52.93)
CIE-LCHlch(68.64, 53.22, 95.99°)
OKLaboklab(72.78% -0.0195 0.1205)
OKLCHoklch(72.78% 0.122 99.2)
XYZxyz(35.2669, 38.8512, 10.9505)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA843 #4355BA
analogous
#BA6C43 #BAA843 #91BA43
triadic
#BAA843 #43BAA8 #A843BA
tetradic
#BAA843 #43BA6C #4355BA #BA4391
square
#BAA843 #43BA6C #4355BA #BA4391
split-complementary
#BAA843 #4391BA #6C43BA
monochromatic
#605723 #8D7F33 #BAA843 #CBBD6F #DBD29C

Accessibility & contrast

On white

2.39
#BAA843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#BAA843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA843
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA843#FFFFFF#000000##000000
##BAA8431.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A437
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#C89C93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa843;
/* rgb */ color: rgb(186, 168, 67);
/* oklch */ color: oklch(72.8% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#d2c17c',
    500: '#baa843',
    950: '#000000',
  },
}
SCSS
$custom: #baa843;
$custom-light: #d2c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#baa843",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 67
  },
  "hsl": {
    "h": 50.924,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7278,
    "c": 0.12207,
    "h": 99.2
  },
  "luminance": 0.3885
}

Semantic roles & 50–950 ramp

primary
#BAA843
secondary
#9199C8
accent
#65D751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA843

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

Preview Lab → · Contrast checker → · Palette generator →

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