#BAA837#BAA837

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

Color values

HEX#BAA837
RGBrgb(186, 168, 55)
HSLhsl(52, 54%, 47%)
HSVhsv(52, 70%, 73%)
CMYKcmyk(0%, 9.7%, 70.4%, 27.1%)
CIE-LABlab(68.55, -6.25, 57.86)
CIE-LCHlch(68.55, 58.20, 96.16°)
OKLaboklab(72.68% -0.0228 0.129)
OKLCHoklch(72.68% 0.131 100)
XYZxyz(34.9435, 38.7218, 9.2471)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA837 #3749BA
analogous
#BA6737 #BAA837 #8ABA37
triadic
#BAA837 #37BAA8 #A837BA
tetradic
#BAA837 #37BA67 #3749BA #BA378A
square
#BAA837 #37BA67 #3749BA #BA378A
split-complementary
#BAA837 #378ABA #6737BA
monochromatic
#5C531B #8B7D29 #BAA837 #D0C05F #DED38E

Accessibility & contrast

On white

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

On black

8.74
#BAA837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA837
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA837#FFFFFF#000000##000000
##BAA8371.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A326
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#C89C91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa837;
/* rgb */ color: rgb(186, 168, 55);
/* oklch */ color: oklch(72.7% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#d2c175',
    500: '#baa837',
    950: '#000000',
  },
}
SCSS
$custom: #baa837;
$custom-light: #d2c175;
$custom-dark: #000000;
JSON
{
  "hex": "#baa837",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 51.756,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72675,
    "c": 0.13097,
    "h": 100
  },
  "luminance": 0.3872
}

Semantic roles & 50–950 ramp

primary
#BAA837
secondary
#858EC8
accent
#5EDE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA837

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

Preview Lab → · Contrast checker → · Palette generator →

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