#BAAA38#BAAA38

#BAAA38 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.132 H 101.2°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#BAAA38
RGBrgb(186, 170, 56)
HSLhsl(53, 54%, 47%)
HSVhsv(53, 70%, 73%)
CMYKcmyk(0%, 8.6%, 69.9%, 27.1%)
CIE-LABlab(69.09, -7.25, 58.01)
CIE-LCHlch(69.09, 58.46, 97.12°)
OKLaboklab(73.11% -0.0256 0.1295)
OKLCHoklch(73.11% 0.132 101.2)
XYZxyz(35.3398, 39.4756, 9.4987)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA38 #3848BA
analogous
#BA6938 #BAAA38 #89BA38
triadic
#BAAA38 #38BAAA #AA38BA
tetradic
#BAAA38 #38BA69 #3848BA #BA3889
square
#BAAA38 #38BA69 #3848BA #BA3889
split-complementary
#BAAA38 #3889BA #6938BA
monochromatic
#5C541C #8B7F2A #BAAA38 #CFC160 #DDD48F

Accessibility & contrast

On white

2.36
#BAAA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#BAAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA38
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA38#FFFFFF#000000##000000
##BAAA381.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA527
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#C89E93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa38;
/* rgb */ color: rgb(186, 170, 56);
/* oklch */ color: oklch(73.1% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#d2c375',
    500: '#baaa38',
    950: '#000000',
  },
}
SCSS
$custom: #baaa38;
$custom-light: #d2c375;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa38",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 52.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7311,
    "c": 0.13195,
    "h": 101.2
  },
  "luminance": 0.39474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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