#BAA037#BAA037

#BAA037 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.125 H 94.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#BAA037
RGBrgb(186, 160, 55)
HSLhsl(48, 54%, 47%)
HSVhsv(48, 70%, 73%)
CMYKcmyk(0%, 14%, 70.4%, 27.1%)
CIE-LABlab(66.41, -1.99, 55.72)
CIE-LCHlch(66.41, 55.75, 92.05°)
OKLaboklab(70.98% -0.0107 0.1244)
OKLCHoklch(70.98% 0.125 94.9)
XYZxyz(33.5118, 35.8584, 8.7699)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA037 #3751BA
analogous
#BA5F37 #BAA037 #92BA37
triadic
#BAA037 #37BAA0 #A037BA
tetradic
#BAA037 #37BA5F #3751BA #BA3792
square
#BAA037 #37BA5F #3751BA #BA3792
split-complementary
#BAA037 #3792BA #5F37BA
monochromatic
#5C4F1B #8B7729 #BAA037 #D0B95F #DECE8E

Accessibility & contrast

On white

2.57
#BAA037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#BAA037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA037
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA037#FFFFFF#000000##000000
##BAA0371.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D28
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#C9948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #baa037;
/* rgb */ color: rgb(186, 160, 55);
/* oklch */ color: oklch(71.0% 0.125 94.9);
Tailwind
colors: {
  custom: {
    50: '#d2bb74',
    500: '#baa037',
    950: '#000000',
  },
}
SCSS
$custom: #baa037;
$custom-light: #d2bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#baa037",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 55
  },
  "hsl": {
    "h": 48.092,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70982,
    "c": 0.12488,
    "h": 94.9
  },
  "luminance": 0.35857
}

Semantic roles & 50–950 ramp

primary
#BAA037
secondary
#8592C8
accent
#67DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BAA037

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

Preview Lab → · Contrast checker → · Palette generator →

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