#BAA931#BAA931

#BAA931 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.136 H 101.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#BAA931
RGBrgb(186, 169, 49)
HSLhsl(53, 58%, 46%)
HSVhsv(53, 74%, 73%)
CMYKcmyk(0%, 9.1%, 73.7%, 27.1%)
CIE-LABlab(68.78, -7.07, 60.37)
CIE-LCHlch(68.78, 60.78, 96.68°)
OKLaboklab(72.85% -0.0258 0.1332)
OKLCHoklch(72.85% 0.136 101)
XYZxyz(34.9937, 39.0384, 8.5971)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA931 #3142BA
analogous
#BA6431 #BAA931 #86BA31
triadic
#BAA931 #31BAA9 #A931BA
tetradic
#BAA931 #31BA64 #3142BA #BA3186
square
#BAA931 #31BA64 #3142BA #BA3186
split-complementary
#BAA931 #3186BA #6431BA
monochromatic
#595117 #8A7D24 #BAA931 #D2C356 #DFD486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA931#FFFFFF#000000##000000
##BAA9311.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)
#B9A41C
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#C89D92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa931;
/* rgb */ color: rgb(186, 169, 49);
/* oklch */ color: oklch(72.8% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#d2c272',
    500: '#baa931',
    950: '#000000',
  },
}
SCSS
$custom: #baa931;
$custom-light: #d2c272;
$custom-dark: #000000;
JSON
{
  "hex": "#baa931",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 52.555,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72845,
    "c": 0.13563,
    "h": 101
  },
  "luminance": 0.39037
}

Semantic roles & 50–950 ramp

primary
#BAA931
secondary
#7E87C9
accent
#5AE246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA931

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

Preview Lab → · Contrast checker → · Palette generator →

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