#BAA833#BAA833

#BAA833 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.134 H 100.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#BAA833
RGBrgb(186, 168, 51)
HSLhsl(52, 57%, 46%)
HSVhsv(52, 73%, 73%)
CMYKcmyk(0%, 9.7%, 72.6%, 27.1%)
CIE-LABlab(68.52, -6.45, 59.38)
CIE-LCHlch(68.52, 59.73, 96.20°)
OKLaboklab(72.65% -0.0238 0.1314)
OKLCHoklch(72.65% 0.134 100.3)
XYZxyz(34.8515, 38.6850, 8.7625)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA833 #3345BA
analogous
#BA6533 #BAA833 #89BA33
triadic
#BAA833 #33BAA8 #A833BA
tetradic
#BAA833 #33BA65 #3345BA #BA3389
square
#BAA833 #33BA65 #3345BA #BA3389
split-complementary
#BAA833 #3389BA #6533BA
monochromatic
#5A5119 #8A7D26 #BAA833 #D1C159 #DFD389

Accessibility & contrast

On white

2.40
#BAA833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#BAA833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA833
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA833#FFFFFF#000000##000000
##BAA8331.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A320
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#C89C91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa833;
/* rgb */ color: rgb(186, 168, 51);
/* oklch */ color: oklch(72.6% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#d2c173',
    500: '#baa833',
    950: '#000000',
  },
}
SCSS
$custom: #baa833;
$custom-light: #d2c173;
$custom-dark: #000000;
JSON
{
  "hex": "#baa833",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 52,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72646,
    "c": 0.13358,
    "h": 100.3
  },
  "luminance": 0.38683
}

Semantic roles & 50–950 ramp

primary
#BAA833
secondary
#808AC9
accent
#5CE048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA833

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

Preview Lab → · Contrast checker → · Palette generator →

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