#BAA337#BAA337

#BAA337 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.127 H 96.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BAA337
RGBrgb(186, 163, 55)
HSLhsl(49, 54%, 47%)
HSVhsv(49, 70%, 73%)
CMYKcmyk(0%, 12.4%, 70.4%, 27.1%)
CIE-LABlab(67.21, -3.60, 56.52)
CIE-LCHlch(67.21, 56.64, 93.64°)
OKLaboklab(71.61% -0.0153 0.1261)
OKLCHoklch(71.61% 0.127 96.9)
XYZxyz(34.0381, 36.9111, 8.9453)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA337 #374EBA
analogous
#BA6237 #BAA337 #8FBA37
triadic
#BAA337 #37BAA3 #A337BA
tetradic
#BAA337 #37BA62 #374EBA #BA378F
square
#BAA337 #37BA62 #374EBA #BA378F
split-complementary
#BAA337 #378FBA #6237BA
monochromatic
#5C501B #8B7A29 #BAA337 #D0BC5F #DED08E

Accessibility & contrast

On white

2.51
#BAA337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#BAA337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA337
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA337#FFFFFF#000000##000000
##BAA3371.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F27
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#C9978D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #baa337;
/* rgb */ color: rgb(186, 163, 55);
/* oklch */ color: oklch(71.6% 0.127 96.9);
Tailwind
colors: {
  custom: {
    50: '#d2bd74',
    500: '#baa337',
    950: '#000000',
  },
}
SCSS
$custom: #baa337;
$custom-light: #d2bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#baa337",
  "rgb": {
    "r": 186,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 49.466,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71614,
    "c": 0.12704,
    "h": 96.9
  },
  "luminance": 0.36909
}

Semantic roles & 50–950 ramp

primary
#BAA337
secondary
#8591C8
accent
#64DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA337

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

Preview Lab → · Contrast checker → · Palette generator →

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