#BAA535#BAA535

#BAA535 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.130 H 98.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BAA535
RGBrgb(186, 165, 53)
HSLhsl(51, 56%, 47%)
HSVhsv(51, 72%, 73%)
CMYKcmyk(0%, 11.3%, 71.5%, 27.1%)
CIE-LABlab(67.73, -4.76, 57.84)
CIE-LCHlch(67.73, 58.03, 94.71°)
OKLaboklab(72.02% -0.0188 0.1285)
OKLCHoklch(72.02% 0.13 98.3)
XYZxyz(34.3491, 37.6081, 8.8173)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA535 #354ABA
analogous
#BA6235 #BAA535 #8DBA35
triadic
#BAA535 #35BAA5 #A535BA
tetradic
#BAA535 #35BA62 #354ABA #BA358D
square
#BAA535 #35BA62 #354ABA #BA358D
split-complementary
#BAA535 #358DBA #6235BA
monochromatic
#5B501A #8A7B27 #BAA535 #D0BE5C #DED18B

Accessibility & contrast

On white

2.46
#BAA535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BAA535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA535
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA535#FFFFFF#000000##000000
##BAA5351.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A124
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#C9998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #baa535;
/* rgb */ color: rgb(186, 165, 53);
/* oklch */ color: oklch(72.0% 0.130 98.3);
Tailwind
colors: {
  custom: {
    50: '#d2bf73',
    500: '#baa535',
    950: '#000000',
  },
}
SCSS
$custom: #baa535;
$custom-light: #d2bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#baa535",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 50.526,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72022,
    "c": 0.12991,
    "h": 98.3
  },
  "luminance": 0.37606
}

Semantic roles & 50–950 ramp

primary
#BAA535
secondary
#828EC8
accent
#61DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA535

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

Preview Lab → · Contrast checker → · Palette generator →

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