#BAA844#BAA844

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

Color values

HEX#BAA844
RGBrgb(186, 168, 68)
HSLhsl(51, 46%, 50%)
HSVhsv(51, 63%, 73%)
CMYKcmyk(0%, 9.7%, 63.4%, 27.1%)
CIE-LABlab(68.65, -5.49, 52.49)
CIE-LCHlch(68.65, 52.78, 95.97°)
OKLaboklab(72.79% -0.0192 0.1197)
OKLCHoklch(72.79% 0.121 99.1)
XYZxyz(35.2972, 38.8633, 11.1098)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA844 #4456BA
analogous
#BA6D44 #BAA844 #91BA44
triadic
#BAA844 #44BAA8 #A844BA
tetradic
#BAA844 #44BA6D #4456BA #BA4491
square
#BAA844 #44BA6D #4456BA #BA4491
split-complementary
#BAA844 #4491BA #6D44BA
monochromatic
#605723 #8D8034 #BAA844 #CBBD70 #DBD29D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA844#FFFFFF#000000##000000
##BAA8441.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)
#B7A438
Deuteranopia (green-blind)
#BCAA49
Tritanopia (blue-blind)
#C89C93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa844;
/* rgb */ color: rgb(186, 168, 68);
/* oklch */ color: oklch(72.8% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#d2c17c',
    500: '#baa844',
    950: '#000000',
  },
}
SCSS
$custom: #baa844;
$custom-light: #d2c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#baa844",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 68
  },
  "hsl": {
    "h": 50.847,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7279,
    "c": 0.12126,
    "h": 99.1
  },
  "luminance": 0.38862
}

Semantic roles & 50–950 ramp

primary
#BAA844
secondary
#929AC8
accent
#66D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA844

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

Preview Lab → · Contrast checker → · Palette generator →

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