#BAA839#BAA839

#BAA839 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.130 H 99.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#BAA839
RGBrgb(186, 168, 57)
HSLhsl(52, 53%, 48%)
HSVhsv(52, 69%, 73%)
CMYKcmyk(0%, 9.7%, 69.4%, 27.1%)
CIE-LABlab(68.56, -6.14, 57.08)
CIE-LCHlch(68.56, 57.41, 96.14°)
OKLaboklab(72.69% -0.0223 0.1277)
OKLCHoklch(72.69% 0.13 99.9)
XYZxyz(34.9924, 38.7414, 9.5048)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA839 #394BBA
analogous
#BA6839 #BAA839 #8BBA39
triadic
#BAA839 #39BAA8 #A839BA
tetradic
#BAA839 #39BA68 #394BBA #BA398B
square
#BAA839 #39BA68 #394BBA #BA398B
split-complementary
#BAA839 #398BBA #6839BA
monochromatic
#5C531C #8B7E2B #BAA839 #CFBF61 #DDD290

Accessibility & contrast

On white

2.40
#BAA839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#BAA839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA839
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA839#FFFFFF#000000##000000
##BAA8391.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A329
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#C89C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa839;
/* rgb */ color: rgb(186, 168, 57);
/* oklch */ color: oklch(72.7% 0.130 99.9);
Tailwind
colors: {
  custom: {
    50: '#d2c176',
    500: '#baa839',
    950: '#000000',
  },
}
SCSS
$custom: #baa839;
$custom-light: #d2c176;
$custom-dark: #000000;
JSON
{
  "hex": "#baa839",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 51.628,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72691,
    "c": 0.12959,
    "h": 99.9
  },
  "luminance": 0.3874
}

Semantic roles & 50–950 ramp

primary
#BAA839
secondary
#8790C8
accent
#60DC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA839

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

Preview Lab → · Contrast checker → · Palette generator →

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