#BAA933#BAA933

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

Color values

HEX#BAA933
RGBrgb(186, 169, 51)
HSLhsl(52, 57%, 46%)
HSVhsv(52, 73%, 73%)
CMYKcmyk(0%, 9.1%, 72.6%, 27.1%)
CIE-LABlab(68.79, -6.97, 59.64)
CIE-LCHlch(68.79, 60.05, 96.67°)
OKLaboklab(72.86% -0.0253 0.132)
OKLCHoklch(72.86% 0.134 100.9)
XYZxyz(35.0368, 39.0557, 8.8243)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA933 #3344BA
analogous
#BA6533 #BAA933 #88BA33
triadic
#BAA933 #33BAA9 #A933BA
tetradic
#BAA933 #33BA65 #3344BA #BA3388
square
#BAA933 #33BA65 #3344BA #BA3388
split-complementary
#BAA933 #3388BA #6533BA
monochromatic
#5A5219 #8A7D26 #BAA933 #D1C259 #DFD489

Accessibility & contrast

On white

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

On black

8.81
#BAA933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA933
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA933#FFFFFF#000000##000000
##BAA9331.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baa933;
/* rgb */ color: rgb(186, 169, 51);
/* oklch */ color: oklch(72.9% 0.134 100.9);
Tailwind
colors: {
  custom: {
    50: '#d2c273',
    500: '#baa933',
    950: '#000000',
  },
}
SCSS
$custom: #baa933;
$custom-light: #d2c273;
$custom-dark: #000000;
JSON
{
  "hex": "#baa933",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 51
  },
  "hsl": {
    "h": 52.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72859,
    "c": 0.13439,
    "h": 100.9
  },
  "luminance": 0.39054
}

Semantic roles & 50–950 ramp

primary
#BAA933
secondary
#8089C9
accent
#5BE048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA933

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

Preview Lab → · Contrast checker → · Palette generator →

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