#BAA82C#BAA82C

#BAA82C is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.138 H 100.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#BAA82C
RGBrgb(186, 168, 44)
HSLhsl(52, 62%, 45%)
HSVhsv(52, 76%, 73%)
CMYKcmyk(0%, 9.7%, 76.3%, 27.1%)
CIE-LABlab(68.48, -6.76, 61.85)
CIE-LCHlch(68.48, 62.22, 96.23°)
OKLaboklab(72.6% -0.0254 0.1354)
OKLCHoklch(72.6% 0.138 100.6)
XYZxyz(34.7086, 38.6279, 8.0101)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA82C #2C3EBA
analogous
#BA612C #BAA82C #85BA2C
triadic
#BAA82C #2CBAA8 #A82CBA
tetradic
#BAA82C #2CBA61 #2C3EBA #BA2C85
square
#BAA82C #2CBA61 #2C3EBA #BA2C85
split-complementary
#BAA82C #2C85BA #612CBA
monochromatic
#574F15 #897B20 #BAA82C #D5C44E #E1D580

Accessibility & contrast

On white

2.41
#BAA82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#BAA82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA82C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA82C#FFFFFF#000000##000000
##BAA82C1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A311
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#C99B90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa82c;
/* rgb */ color: rgb(186, 168, 44);
/* oklch */ color: oklch(72.6% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#d3c16f',
    500: '#baa82c',
    950: '#000000',
  },
}
SCSS
$custom: #baa82c;
$custom-light: #d3c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#baa82c",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 52.394,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72599,
    "c": 0.13771,
    "h": 100.6
  },
  "luminance": 0.38626
}

Semantic roles & 50–950 ramp

primary
#BAA82C
secondary
#7883CA
accent
#57E543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA82C

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

Preview Lab → · Contrast checker → · Palette generator →

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