#BAAC33#BAAC33

#BAAC33 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.5% C 0.137 H 102.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#BAAC33
RGBrgb(186, 172, 51)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 73%, 73%)
CMYKcmyk(0%, 7.5%, 72.6%, 27.1%)
CIE-LABlab(69.60, -8.55, 60.43)
CIE-LCHlch(69.60, 61.03, 98.05°)
OKLaboklab(73.5% -0.0298 0.1337)
OKLCHoklch(73.5% 0.137 102.6)
XYZxyz(35.6013, 40.1847, 9.0125)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAC33 #3341BA
analogous
#BA6933 #BAAC33 #85BA33
triadic
#BAAC33 #33BAAC #AC33BA
tetradic
#BAAC33 #33BA69 #3341BA #BA3385
square
#BAAC33 #33BA69 #3341BA #BA3385
split-complementary
#BAAC33 #3385BA #6933BA
monochromatic
#5A5319 #8A8026 #BAAC33 #D1C559 #DFD689

Accessibility & contrast

On white

2.32
#BAAC33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#BAAC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAC33
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAC33#FFFFFF#000000##000000
##BAAC331.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#C8A094
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #baac33;
/* rgb */ color: rgb(186, 172, 51);
/* oklch */ color: oklch(73.5% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#d2c473',
    500: '#baac33',
    950: '#000000',
  },
}
SCSS
$custom: #baac33;
$custom-light: #d2c473;
$custom-dark: #000000;
JSON
{
  "hex": "#baac33",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 53.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73502,
    "c": 0.13692,
    "h": 102.6
  },
  "luminance": 0.40183
}

Semantic roles & 50–950 ramp

primary
#BAAC33
secondary
#8088C9
accent
#57E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAC33

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

Preview Lab → · Contrast checker → · Palette generator →

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