#BAA938#BAA938

#BAA938 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.131 H 100.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#BAA938
RGBrgb(186, 169, 56)
HSLhsl(52, 54%, 47%)
HSVhsv(52, 70%, 73%)
CMYKcmyk(0%, 9.1%, 69.9%, 27.1%)
CIE-LABlab(68.83, -6.72, 57.74)
CIE-LCHlch(68.83, 58.13, 96.64°)
OKLaboklab(72.9% -0.0241 0.1289)
OKLCHoklch(72.9% 0.131 100.6)
XYZxyz(35.1531, 39.1021, 9.4364)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA938 #3849BA
analogous
#BA6838 #BAA938 #8ABA38
triadic
#BAA938 #38BAA9 #A938BA
tetradic
#BAA938 #38BA68 #3849BA #BA388A
square
#BAA938 #38BA68 #3849BA #BA388A
split-complementary
#BAA938 #388ABA #6838BA
monochromatic
#5C541C #8B7E2A #BAA938 #CFC160 #DDD38F

Accessibility & contrast

On white

2.38
#BAA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#BAA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA938
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA938#FFFFFF#000000##000000
##BAA9381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#C89D92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa938;
/* rgb */ color: rgb(186, 169, 56);
/* oklch */ color: oklch(72.9% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#d2c275',
    500: '#baa938',
    950: '#000000',
  },
}
SCSS
$custom: #baa938;
$custom-light: #d2c275;
$custom-dark: #000000;
JSON
{
  "hex": "#baa938",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 52.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72897,
    "c": 0.13111,
    "h": 100.6
  },
  "luminance": 0.39101
}

Semantic roles & 50–950 ramp

primary
#BAA938
secondary
#868EC8
accent
#5EDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA938

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

Preview Lab → · Contrast checker → · Palette generator →

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